REST API: Update tests for [35653]

See #34551.

Built from https://develop.svn.wordpress.org/trunk@35654


git-svn-id: http://core.svn.wordpress.org/trunk@35618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan McCue 2015-11-17 05:27:25 +00:00
parent 81ffd2492c
commit 1a5f0d3857
2 changed files with 1 additions and 5 deletions

View File

@ -663,10 +663,6 @@ function _oembed_rest_pre_serve_request( $served, $result, $request, $server ) {
// Embed links inside the request.
$data = $server->response_to_data( $result, false );
if ( 404 === $result->get_status() ) {
$data = $data[0];
}
if ( ! class_exists( 'SimpleXMLElement' ) ) {
status_header( 501 );
die( get_status_header_desc( 501 ) );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35653';
$wp_version = '4.4-beta4-35654';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.