mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -145,7 +145,7 @@ class WP_REST_Post_Types_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @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.
|
||||
* @return WP_REST_Response Response object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user