From 7611ed8c2f0cf59951bd78cab0fb35c84dd72dac Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 8 Mar 2022 14:49:41 +0000 Subject: [PATCH] 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 --- .../rest-api/endpoints/class-wp-rest-post-types-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php index 088d238883..4d27b9dea6 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php @@ -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', ), ),