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
This commit is contained in:
Gary Pendergast 2019-01-08 04:50:51 +00:00
parent 344348ba5b
commit 2bbe0bd7e4
2 changed files with 6 additions and 9 deletions

View File

@ -1516,14 +1516,11 @@ function comments_template( $file = '/comments.php', $separate_comments = false
* *
* @since 0.71 * @since 0.71
* *
* @param string $zero Optional. String to display when no comments. Default false. * @param false|string $zero Optional. String to display when no comments. Default false.
* @param string $one Optional. String to display when only one comment is available. * @param false|string $one Optional. String to display when only one comment is available. Default false.
* Default false. * @param false|string $more Optional. String to display when there are more than one comment. Default false.
* @param string $more Optional. String to display when there are more than one comment. * @param string $css_class Optional. CSS class to use for comments. Default empty.
* Default false. * @param false|string $none Optional. String to display when comments have been turned off. 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.
*/ */
function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) { function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
$id = get_the_ID(); $id = get_the_ID();

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.