From 2bbe0bd7e42767961d13a93b9a679a0a60578aeb Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 8 Jan 2019 04:50:51 +0000 Subject: [PATCH] Docs: Fix the `@param` types for `comments_popup_link(). Props Mirucon. Fixes #44841. Built from https://develop.svn.wordpress.org/trunk@44457 git-svn-id: http://core.svn.wordpress.org/trunk@44288 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 13 +++++-------- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index d0bdba5024..918238f7fa 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1516,14 +1516,11 @@ function comments_template( $file = '/comments.php', $separate_comments = false * * @since 0.71 * - * @param string $zero Optional. String to display when no comments. Default false. - * @param string $one Optional. String to display when only one comment is available. - * Default false. - * @param string $more Optional. String to display when there are more than one comment. - * Default false. - * @param string $css_class Optional. CSS class to use for comments. Default empty. - * @param string $none Optional. String to display when comments have been turned off. - * Default false. + * @param false|string $zero Optional. String to display when no comments. Default false. + * @param false|string $one Optional. String to display when only one comment is available. Default false. + * @param false|string $more Optional. String to display when there are more than one comment. Default false. + * @param string $css_class Optional. CSS class to use for comments. Default empty. + * @param false|string $none Optional. String to display when comments have been turned off. Default false. */ function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) { $id = get_the_ID(); diff --git a/wp-includes/version.php b/wp-includes/version.php index bca27ec26d..5f5bd5bb52 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44456'; +$wp_version = '5.1-alpha-44457'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.