From a5f489189d0d67d7e6dacd8b2fdefce488873332 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 7 Jul 2022 12:32:12 +0000 Subject: [PATCH] Docs: Misc. docblock enhancements in `WP_REST_Menu_Items_Controller` class, as per docblock standards. See #55646. Built from https://develop.svn.wordpress.org/trunk@53679 git-svn-id: http://core.svn.wordpress.org/trunk@53238 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../endpoints/class-wp-rest-menu-items-controller.php | 8 +++----- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php index 7d4102a483..4cf8cf5f54 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php @@ -17,7 +17,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { /** - * Get the nav menu item, if the ID is valid. + * Gets the nav menu item, if the ID is valid. * * @since 5.9.0 * @@ -107,7 +107,6 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { * @since 5.9.0 * * @param WP_REST_Request $request Full details about the request. - * * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function create_item( $request ) { @@ -199,7 +198,6 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { * @since 5.9.0 * * @param WP_REST_Request $request Full details about the request. - * * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function update_item( $request ) { @@ -488,7 +486,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { * * @since 5.9.0 * - * @param WP_Post $item Post object. + * @param WP_Post $item Post object. * @param WP_REST_Request $request Request object. * @return WP_REST_Response Response object. */ @@ -676,7 +674,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { } /** - * Retrieve Link Description Objects that should be added to the Schema for the posts collection. + * Retrieves Link Description Objects that should be added to the Schema for the posts collection. * * @since 5.9.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 5a29daf343..fa5af829ec 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53678'; +$wp_version = '6.1-alpha-53679'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.