Changeset 35354 for trunk/src/wp-includes/class-wp-oembed-controller.php
- Timestamp:
- 10/22/2015 04:37:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed-controller.php
r34904 r35354 143 143 */ 144 144 public function xml_response( $data ) { 145 if ( ! class_exists( 'SimpleXMLElement' ) ) { 146 status_header( 501 ); 147 return get_status_header_desc( 501 ); 148 } 149 145 150 $result = _oembed_create_xml( $data ); 146 151 … … 148 153 if ( ! $result ) { 149 154 status_header( 501 ); 150 return 'Not implemented';155 return get_status_header_desc( 501 ); 151 156 } 152 157
Note: See TracChangeset
for help on using the changeset viewer.