mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
d4cec569fe
commit
04ba6a1d8f
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user