Make WordPress Core


Ignore:
Timestamp:
03/08/2022 02:49:41 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php

    r51962 r52831  
    369369                        ),
    370370                        'show_in_nav_menus' => array(
    371                             'description' => __( 'Whether to make the post type is available for selection in navigation menus.' ),
     371                            'description' => __( 'Whether to make the post type available for selection in navigation menus.' ),
    372372                            'type'        => 'boolean',
    373373                        ),
Note: See TracChangeset for help on using the changeset viewer.