diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 58ffb03d25..27524c54ec 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -945,6 +945,7 @@ function get_page_of_comment( $comment_ID, $args = array() ) { * Filters the calculated page on which a comment appears. * * @since 4.4.0 + * @since 4.7.0 Introduced the `$comment_ID` parameter. * * @param int $page Comment page. * @param array $args { @@ -965,8 +966,9 @@ function get_page_of_comment( $comment_ID, $args = array() ) { * @type int $per_page Number of comments per page. * @type int $max_depth Maximum comment threading depth allowed. * } + * @param int $comment_ID ID of the comment. */ - return apply_filters( 'get_page_of_comment', (int) $page, $args, $original_args ); + return apply_filters( 'get_page_of_comment', (int) $page, $args, $original_args, $comment_ID ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index b18435abc4..45f2b09275 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38649'; +$wp_version = '4.7-alpha-38650'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.