From 49fdd95ac08a941eda5650c864eb5faf7fa0b47b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 22 Jul 2018 12:26:28 +0000 Subject: [PATCH] Docs: Correct the parameter type for `WP_REST_Post_Types_Controller::prepare_item_for_response()`. Props subrataemfluence Fixes #44437 Built from https://develop.svn.wordpress.org/trunk@43519 git-svn-id: http://core.svn.wordpress.org/trunk@43348 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../rest-api/endpoints/class-wp-rest-post-types-controller.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php index 5d8fdd903f..fda0aca360 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php @@ -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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0976092127..230caf1385 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43518'; +$wp_version = '5.0-alpha-43519'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.