Docs: Add a `@since` note to `WP_REST_Post_Types_Controller::get_item_schema()` for the `supports` and `visibility` properties.

The `taxonomies` and `rest_base` properties were also added after the method was initially introduced, but that happened during the same release cycle, so they don't need a separate `@since` note.

Follow-up to [38832], [39097], [39191], [39647], [51959].

See #53399.
Built from https://develop.svn.wordpress.org/trunk@51961


git-svn-id: http://core.svn.wordpress.org/trunk@51550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-10-31 20:28:01 +00:00
parent af212ad9b3
commit c60a9d92e2
2 changed files with 3 additions and 1 deletions

View File

@ -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.
*/

View File

@ -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.