diff --git a/wp-includes/embed-functions.php b/wp-includes/embed-functions.php index 3b67de9316..2ddc81842d 100644 --- a/wp-includes/embed-functions.php +++ b/wp-includes/embed-functions.php @@ -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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 39ed1ce034..8b8914813b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.