Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:01:23 PM (9 years ago)
Author:
johnbillion
Message:

Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors.

Props sudar for the original patch.

See #35974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-comment-query.php

    r41287 r41686  
    324324         * @since 4.2.0
    325325         *
    326          * @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference).
     326         * @param WP_Comment_Query $this The WP_Comment_Query instance (passed by reference).
    327327         */
    328328        do_action_ref_array( 'parse_comment_query', array( &$this ) );
     
    370370         * @since 3.1.0
    371371         *
    372          * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.
     372         * @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference).
    373373         */
    374374        do_action_ref_array( 'pre_get_comments', array( &$this ) );
     
    451451         *
    452452         * @param array            $_comments An array of comments.
    453          * @param WP_Comment_Query &$this     Current instance of WP_Comment_Query, passed by reference.
     453         * @param WP_Comment_Query $this     Current instance of WP_Comment_Query (passed by reference).
    454454         */
    455455        $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );
     
    849849         *
    850850         * @param array            $pieces A compacted array of comment query clauses.
    851          * @param WP_Comment_Query &$this  Current instance of WP_Comment_Query, passed by reference.
     851         * @param WP_Comment_Query $this  Current instance of WP_Comment_Query (passed by reference).
    852852         */
    853853        $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );
Note: See TracChangeset for help on using the changeset viewer.