diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php index e2598ac89d..09b4e68bc0 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php @@ -268,6 +268,8 @@ class WP_REST_Post_Types_Controller extends WP_REST_Controller { * Retrieves the post type's schema, conforming to JSON Schema. * * @since 4.7.0 + * @since 4.8.0 The `supports` property was added. + * @since 5.9.0 The `visibility` property was added. * * @return array Item schema data. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index bbd1304e92..3dbf1c5f9c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51960'; +$wp_version = '5.9-alpha-51961'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.