diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index 771123ff5a..bdb750c025 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/wp-includes/class-wp-comment-query.php @@ -311,7 +311,7 @@ class WP_Comment_Query { /** * Parse arguments passed to the comment query with default query parameters. * - * @since 4.2.0 Extracted from WP_Comment_Query::query(). + * @since 4.2.0 Extracted from WP_Comment_Query::query(). * * @access public * @@ -323,6 +323,14 @@ class WP_Comment_Query { } $this->query_vars = wp_parse_args( $query, $this->query_var_defaults ); + + /** + * Fires after the comment query vars have been parsed. + * + * @since 4.2.0 + * + * @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference). + */ do_action_ref_array( 'parse_comment_query', array( &$this ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 54cec302e1..10f1ac02b8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37354'; +$wp_version = '4.6-alpha-37355'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.