Update to SimplePie 1.3. props rmccue.
Uses individual files for each class. We now conditionally load only the pieces we need, resulting in less memory usage. Also easier to maintain now that it is not a single 387KB file. fixes #21183. git-svn-id: http://core.svn.wordpress.org/trunk@21644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -10,7 +10,7 @@ class WP_Feed_Cache extends SimplePie_Cache {
|
||||
* @static
|
||||
* @access public
|
||||
*/
|
||||
function create($location, $filename, $extension) {
|
||||
public static function create($location, $filename, $extension) {
|
||||
return new WP_Feed_Cache_Transient($location, $filename, $extension);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user