WordPress.org

Make WordPress Core

Changeset 37355


Ignore:
Timestamp:
05/03/2016 04:21:03 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing hook doc for the parse_comment_query hook, added in [31793].

Props flixos90.
See #24826. Fixes #36740.

File:
1 edited

Legend:

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

    r37354 r37355  
    312312     * Parse arguments passed to the comment query with default query parameters.
    313313     *
    314      * @since  4.2.0 Extracted from WP_Comment_Query::query().
     314     * @since 4.2.0 Extracted from WP_Comment_Query::query().
    315315     *
    316316     * @access public
     
    324324
    325325        $this->query_vars = wp_parse_args( $query, $this->query_var_defaults );
     326
     327        /**
     328         * Fires after the comment query vars have been parsed.
     329         *
     330         * @since 4.2.0
     331         *
     332         * @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference).
     333         */
    326334        do_action_ref_array( 'parse_comment_query', array( &$this ) );
    327335    }
Note: See TracChangeset for help on using the changeset viewer.