Docs: Correct parameter type for $item in WP_REST_Terms_Controller::prepare_item_for_response().

Props diddledan, TimothyBlynJacobs.
Fixes #48616.
Built from https://develop.svn.wordpress.org/trunk@46731


git-svn-id: http://core.svn.wordpress.org/trunk@46531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-11-14 08:55:02 +00:00
parent d4cec569fe
commit 04ba6a1d8f
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-46730';
$wp_version = '5.4-alpha-46731';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.