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.

git-svn-id: https://develop.svn.wordpress.org/trunk@52831 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-03-08 14:49:41 +00:00
parent 87844a6eb2
commit 7611ed8c2f

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',
),
),