Docs: Add a missing hook doc for the `parse_comment_query` hook, added in [31793].
Props flixos90. See #24826. Fixes #36740. Built from https://develop.svn.wordpress.org/trunk@37355 git-svn-id: http://core.svn.wordpress.org/trunk@37321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f66998e3f
commit
c7a2b7683b
|
@ -311,7 +311,7 @@ class WP_Comment_Query {
|
||||||
/**
|
/**
|
||||||
* Parse arguments passed to the comment query with default query parameters.
|
* 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
|
* @access public
|
||||||
*
|
*
|
||||||
|
@ -323,6 +323,14 @@ class WP_Comment_Query {
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->query_vars = wp_parse_args( $query, $this->query_var_defaults );
|
$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 ) );
|
do_action_ref_array( 'parse_comment_query', array( &$this ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue