Changeset 22366 for trunk/wp-includes/SimplePie/Cache.php
- Timestamp:
- 11/05/2012 02:25:25 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/SimplePie/Cache.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/SimplePie/Cache.php
r21644 r22366 34 34 * 35 35 * @package SimplePie 36 * @version 1.3 36 * @version 1.3.1 37 37 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue 38 38 * @author Ryan Parman … … 80 80 * @return SimplePie_Cache_Base Type of object depends on scheme of `$location` 81 81 */ 82 public static function create($location, $filename, $extension)82 public static function get_handler($location, $filename, $extension) 83 83 { 84 84 $type = explode(':', $location, 2); … … 91 91 92 92 return new SimplePie_Cache_File($location, $filename, $extension); 93 } 94 95 /** 96 * Create a new SimplePie_Cache object 97 * 98 * @deprecated Use {@see get_handler} instead 99 */ 100 public function create($location, $filename, $extension) 101 { 102 trigger_error('Cache::create() has been replaced with Cache::get_handler(). Switch to the registry system to use this.', E_USER_DEPRECATED); 103 return self::get_handler($location, $filename, $extension); 93 104 } 94 105
Note: See TracChangeset
for help on using the changeset viewer.