diff --git a/wp-includes/query.php b/wp-includes/query.php index 033db0cf05..559ce807d4 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -4590,10 +4590,12 @@ class WP_Query { * Fires once the post data has been setup. * * @since 2.8.0 + * @since 4.1.0 Introduced $this parameter. * - * @param WP_Post &$post The Post object (passed by reference). + * @param WP_Post &$post The Post object (passed by reference). + * @param WP_Query &$this The current Query object (passed by reference). */ - do_action_ref_array( 'the_post', array( &$post ) ); + do_action_ref_array( 'the_post', array( &$post, &$this ) ); return true; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8cd22e51b7..c4579a1168 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30322'; +$wp_version = '4.1-alpha-30323'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.