Changeset 31148
- Timestamp:
- 01/11/2015 10:26:55 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-oembed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r31083 r31148 21 21 public $providers = array(); 22 22 public static $early_providers = array(); 23 24 private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_body' ); 23 25 24 26 /** … … 171 173 */ 172 174 public function __call( $name, $arguments ) { 173 return call_user_func_array( array( $this, $name ), $arguments ); 175 if ( in_array( $name, $this->compat_methods ) ) { 176 return call_user_func_array( array( $this, $name ), $arguments ); 177 } 178 return false; 174 179 } 175 180
Note: See TracChangeset
for help on using the changeset viewer.