Changeset 35408 for trunk/src/wp-includes/class-wp-oembed-controller.php
- Timestamp:
- 10/27/2015 08:43:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed-controller.php
r35354 r35408 33 33 if ( false === $wp_query->get( 'url', false ) ) { 34 34 status_header( 400 ); 35 echo 'URL parameter missing';35 return get_status_header_desc( 400 ); 36 36 exit; 37 37 } … … 89 89 if ( false === $data ) { 90 90 status_header( 404 ); 91 return __( 'Invalid URL.');91 return get_status_header_desc( 404 ); 92 92 } 93 93 … … 118 118 if ( ! $result || ! is_array( $data ) || empty( $data ) ) { 119 119 status_header( 501 ); 120 return 'Not implemented';120 return get_status_header_desc( 501 ); 121 121 } 122 122
Note: See TracChangeset
for help on using the changeset viewer.