REST API: Correct the wording for `show_in_nav_menus` property description in post type visibility settings.

Follow-up to [51959].

Props pedromendonca.
Fixes #55340.
Built from https://develop.svn.wordpress.org/trunk@52831


git-svn-id: http://core.svn.wordpress.org/trunk@52420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-03-08 14:51:07 +00:00
parent 1b72380e10
commit ac9f203a88
2 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@ class WP_REST_Post_Types_Controller extends WP_REST_Controller {
'type' => 'boolean',
),
'show_in_nav_menus' => array(
'description' => __( 'Whether to make the post type is available for selection in navigation menus.' ),
'description' => __( 'Whether to make the post type available for selection in navigation menus.' ),
'type' => 'boolean',
),
),

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52830';
$wp_version = '6.0-alpha-52831';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.