Make WordPress Core

Ticket #44243: 44243.diff

File 44243.diff, 1.4 KB (added by abhijitrakas, 6 years ago)
  • src/wp-includes/class-simplepie.php

     
    14011401                                        // Cache the file if caching is enabled
    14021402                                        if ($cache && !$cache->save($this))
    14031403                                        {
    1404                                                 trigger_error("$this->cache_location is not writeable. 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);
    14051405                                        }
    14061406                                        return true;
    14071407                                }
     
    15681568                                        $this->data = array('url' => $this->feed_url, 'feed_url' => $file->url, 'build' => SIMPLEPIE_BUILD);
    15691569                                        if (!$cache->save($this))
    15701570                                        {
    1571                                                 trigger_error("$this->cache_location is not writeable. 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);
    15721572                                        }
    15731573                                        $cache = $this->registry->call('Cache', 'get_handler', array($this->cache_location, call_user_func($this->cache_name_function, $file->url), 'spc'));
    15741574                                }