Ticket #44243: 44243.diff
File 44243.diff, 1.4 KB (added by , 5 years ago) |
---|
-
src/wp-includes/class-simplepie.php
1401 1401 // Cache the file if caching is enabled 1402 1402 if ($cache && !$cache->save($this)) 1403 1403 { 1404 trigger_error("$this->cache_location is not writ eable. Make sure you've set the correct relative or absolute path, and that the location is server-writable.", E_USER_WARNING);1404 trigger_error("$this->cache_location is not writable. Make sure you've set the correct relative or absolute path, and that the location is server-writable.", E_USER_WARNING); 1405 1405 } 1406 1406 return true; 1407 1407 } … … 1568 1568 $this->data = array('url' => $this->feed_url, 'feed_url' => $file->url, 'build' => SIMPLEPIE_BUILD); 1569 1569 if (!$cache->save($this)) 1570 1570 { 1571 trigger_error("$this->cache_location is not writ eable. Make sure you've set the correct relative or absolute path, and that the location is server-writable.", E_USER_WARNING);1571 trigger_error("$this->cache_location is not writable. Make sure you've set the correct relative or absolute path, and that the location is server-writable.", E_USER_WARNING); 1572 1572 } 1573 1573 $cache = $this->registry->call('Cache', 'get_handler', array($this->cache_location, call_user_func($this->cache_name_function, $file->url), 'spc')); 1574 1574 }