From d1ef2e431f59bfff8f6109ab00241f5982acbdec Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 6 Jan 2022 22:57:06 +0000 Subject: [PATCH] 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 --- .../rest-api/endpoints/class-wp-rest-menu-items-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php index 57ddc38078..f25be71bef 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php @@ -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(