mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 13:59:48 +01: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. It also updates qUnit test fixtures accordingly. Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald. Merges [52535] and [52536] to the 5.9 branch. Fixes #54745. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52541 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
844676b302
commit
8c1e547daf
@ -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(
|
||||
|
@ -3761,7 +3761,7 @@ mockedApiResponse.Schema = {
|
||||
"required": false
|
||||
},
|
||||
"object": {
|
||||
"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\".",
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
@ -3949,7 +3949,7 @@ mockedApiResponse.Schema = {
|
||||
"required": false
|
||||
},
|
||||
"object": {
|
||||
"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\".",
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
@ -4134,7 +4134,7 @@ mockedApiResponse.Schema = {
|
||||
"required": false
|
||||
},
|
||||
"object": {
|
||||
"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\".",
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user