REST API: Typo correction in a link description object.

This change fixes a wrong punctuation in a link description object of the menu items controller endpoint.

Props la-geek, audrasjb, tobifjellner, hellofromtonya.
Fixes #54745.


git-svn-id: https://develop.svn.wordpress.org/trunk@52535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-01-06 22:57:06 +00:00
parent b9bb489d1d
commit d1ef2e431f

View File

@ -816,7 +816,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller {
);
$schema['properties']['object'] = array(
'description' => __( 'The type of object originally represented, such as "category," "post", or "attachment."' ),
'description' => __( 'The type of object originally represented, such as "category", "post", or "attachment".' ),
'context' => array( 'view', 'edit', 'embed' ),
'type' => 'string',
'arg_options' => array(