From 3dc7e8a97c970d2caabb001a7d0484a85b2eddab Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 20 Oct 2016 18:59:29 +0000 Subject: [PATCH] Comments: Fix description for `reverse_top_level` argument in `wp_list_comments()`. It's a boolean, not a string. Introduced in [25567]. Props bcole808. Fixes #38371. Built from https://develop.svn.wordpress.org/trunk@38845 git-svn-id: http://core.svn.wordpress.org/trunk@38788 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 581c7b71e5..dc63e3653f 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1910,7 +1910,7 @@ function comment_form_title( $noreplytext = false, $replytext = false, $linktopa * @type int $page Page ID to list comments for. Default empty. * @type int $per_page Number of comments to list per page. Default empty. * @type int $avatar_size Height and width dimensions of the avatar size. Default 32. - * @type string $reverse_top_level Ordering of the listed comments. Default null. Accepts 'desc', 'asc'. + * @type bool $reverse_top_level Ordering of the listed comments. If true, will display newest comments first. * @type bool $reverse_children Whether to reverse child comments in the list. Default null. * @type string $format How to format the comments list. * Default 'html5' if the theme supports it. Accepts 'html5', 'xhtml'. diff --git a/wp-includes/version.php b/wp-includes/version.php index 32314fc85b..876b4c0bde 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38844'; +$wp_version = '4.7-alpha-38845'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.