WordPress.org

Make WordPress Core

Changeset 38650


Ignore:
Timestamp:
09/25/2016 05:32:37 PM (3 years ago)
Author:
boonebgorges
Message:

Pass comment ID to get_page_of_comment filter.

Introduced in [34808].

Props zhildzik.
Fixes #38155.

File:
1 edited

Legend:

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

    r38470 r38650  
    946946     *
    947947     * @since 4.4.0
     948     * @since 4.7.0 Introduced the `$comment_ID` parameter.
    948949     *
    949950     * @param int   $page          Comment page.
     
    966967     *     @type int    $max_depth Maximum comment threading depth allowed.
    967968     * }
    968      */
    969     return apply_filters( 'get_page_of_comment', (int) $page, $args, $original_args );
     969     * @param int $comment_ID ID of the comment.
     970     */
     971    return apply_filters( 'get_page_of_comment', (int) $page, $args, $original_args, $comment_ID );
    970972}
    971973
Note: See TracChangeset for help on using the changeset viewer.