From 767d091c74e32b0692c35d73d0bb6b4c9c3d93d4 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 17 Oct 2015 14:24:25 +0000 Subject: [PATCH] Docs: Improve the hook doc for the `get_post_status` filter, introduced in [35233]. Also adds a missing parameter description for `$post`. See #23458. See #32246. Built from https://develop.svn.wordpress.org/trunk@35240 git-svn-id: http://core.svn.wordpress.org/trunk@35206 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-functions.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/post-functions.php b/wp-includes/post-functions.php index d1cdc6927e..d514cea48f 100644 --- a/wp-includes/post-functions.php +++ b/wp-includes/post-functions.php @@ -574,11 +574,12 @@ function get_post_status( $ID = '' ) { } /** - * Filters the post status. + * Filter the post status. * * @since 4.4.0 * - * @param string $post->post_status The status of the post. + * @param string $post_status The post status. + * @param WP_Post $post The post object. */ return apply_filters( 'get_post_status', $post->post_status, $post ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 42649fbf43..018cc2a152 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35239'; +$wp_version = '4.4-alpha-35240'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.