diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index a0d395e429..23017d7c29 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -1966,7 +1966,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { $schema['properties']['featured_media'] = array( 'description' => __( 'The ID of the featured media for the object.' ), 'type' => 'integer', - 'context' => array( 'view', 'edit' ), + 'context' => array( 'view', 'edit', 'embed' ), ); break; diff --git a/wp-includes/version.php b/wp-includes/version.php index e64bfaa06d..5192b322fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40601'; +$wp_version = '4.8-alpha-40602'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.