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
This commit is contained in:
Sergey Biryukov 2019-11-14 08:53:16 +00:00
parent b3c54e6c08
commit 1b55f9d7bf

View File

@ -718,7 +718,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @param obj $item Term object. * @param WP_Term $item Term object.
* @param WP_REST_Request $request Request object. * @param WP_REST_Request $request Request object.
* @return WP_REST_Response $response Response object. * @return WP_REST_Response $response Response object.
*/ */