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 7b27f60dec..1bf551f2af 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 @@ -1758,7 +1758,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { 'description' => __( 'A named status for the object.' ), 'type' => 'string', 'enum' => array_keys( get_post_stati( array( 'internal' => false ) ) ), - 'context' => array( 'edit' ), + 'context' => array( 'view', 'edit' ), ), 'type' => array( 'description' => __( 'Type of Post for the object.' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index e1631c3b43..5ba35f1d74 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7.3-alpha-40079'; +$wp_version = '4.7.3-alpha-40081'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.