mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors.
Props sudar for the original patch. See #35974 git-svn-id: https://develop.svn.wordpress.org/trunk@41686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -323,7 +323,7 @@ class WP_Comment_Query {
|
||||
*
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference).
|
||||
* @param WP_Comment_Query $this The WP_Comment_Query instance (passed by reference).
|
||||
*/
|
||||
do_action_ref_array( 'parse_comment_query', array( &$this ) );
|
||||
}
|
||||
@@ -369,7 +369,7 @@ class WP_Comment_Query {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.
|
||||
* @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference).
|
||||
*/
|
||||
do_action_ref_array( 'pre_get_comments', array( &$this ) );
|
||||
|
||||
@@ -450,7 +450,7 @@ class WP_Comment_Query {
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param array $_comments An array of comments.
|
||||
* @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.
|
||||
* @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference).
|
||||
*/
|
||||
$_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );
|
||||
|
||||
@@ -848,7 +848,7 @@ class WP_Comment_Query {
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param array $pieces A compacted array of comment query clauses.
|
||||
* @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.
|
||||
* @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference).
|
||||
*/
|
||||
$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user