From 1b55f9d7bf27b5f82af953d24884598e5e445875 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 Nov 2019 08:53:16 +0000 Subject: [PATCH] Docs: Correct parameter type for `$item` in `WP_REST_Terms_Controller::prepare_item_for_response()`. Props diddledan, TimothyBlynJacobs. Fixes #48616. git-svn-id: https://develop.svn.wordpress.org/trunk@46731 602fd350-edb4-49c9-b593-d223f7449a82 --- .../rest-api/endpoints/class-wp-rest-terms-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php index 5b0f84578b..f42b54b7e2 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php @@ -718,7 +718,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller { * * @since 4.7.0 * - * @param obj $item Term object. + * @param WP_Term $item Term object. * @param WP_REST_Request $request Request object. * @return WP_REST_Response $response Response object. */