mirror of
git://develop.git.wordpress.org/
synced 2025-04-07 21:53:21 +02:00
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:
parent
b9bb489d1d
commit
d1ef2e431f
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user