Docs: Correct the parameter type for WP_REST_Post_Types_Controller::prepare_item_for_response()
.
Props subrataemfluence Fixes #44437 git-svn-id: https://develop.svn.wordpress.org/trunk@43519 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a0aac2ccb
commit
796bac8645
@ -145,7 +145,7 @@ class WP_REST_Post_Types_Controller extends WP_REST_Controller {
|
|||||||
*
|
*
|
||||||
* @since 4.7.0
|
* @since 4.7.0
|
||||||
*
|
*
|
||||||
* @param stdClass $post_type Post type data.
|
* @param WP_Post_Type $post_type Post type object.
|
||||||
* @param WP_REST_Request $request Full details about the request.
|
* @param WP_REST_Request $request Full details about the request.
|
||||||
* @return WP_REST_Response Response object.
|
* @return WP_REST_Response Response object.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user