diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index ad61a63e11..9d20c6bbd2 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -870,18 +870,14 @@ function get_comments_number( $post_id = 0 ) { * Displays the language string for the number of comments the current post has. * * @since 0.71 - * @since 5.4.0 Added the `$post_id` parameter. + * @since 5.4.0 The `$deprecated` parameter was changed to `$post_id`. * * @param string $zero Optional. Text for no comments. Default false. * @param string $one Optional. Text for one comment. Default false. * @param string $more Optional. Text for more than one comment. Default false. - * @param string $deprecated Not used. * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is the global `$post`. */ -function comments_number( $zero = false, $one = false, $more = false, $deprecated = '', $post_id = 0 ) { - if ( ! empty( $deprecated ) ) { - _deprecated_argument( __FUNCTION__, '1.3.0' ); - } +function comments_number( $zero = false, $one = false, $more = false, $post_id = 0 ) { echo get_comments_number_text( $zero, $one, $more, $post_id ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index d57d1d3d8d..410a703b76 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-beta2-47365'; +$wp_version = '5.4-beta2-47366'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.