From 523bf256ef5348c5468a9615320a190b9959a269 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 2 Jan 2020 19:22:03 +0000 Subject: [PATCH] Docs: Synchronize "Default empty array" notes for `$args` parameter in `get_comment_text()` and `comment_text()`. Props denisco. See #48303. Built from https://develop.svn.wordpress.org/trunk@47032 git-svn-id: http://core.svn.wordpress.org/trunk@46832 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index c2b345ac17..2e4d1c83f7 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -953,7 +953,7 @@ function get_comments_number_text( $zero = false, $one = false, $more = false ) * * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to get the text. * Default current comment. - * @param array $args Optional. An array of arguments. Default empty. + * @param array $args Optional. An array of arguments. Default empty array. * @return string The comment content. */ function get_comment_text( $comment_ID = 0, $args = array() ) { @@ -983,7 +983,7 @@ function get_comment_text( $comment_ID = 0, $args = array() ) { * * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to print the text. * Default current comment. - * @param array $args Optional. An array of arguments. Default empty array. Default empty. + * @param array $args Optional. An array of arguments. Default empty array. */ function comment_text( $comment_ID = 0, $args = array() ) { $comment = get_comment( $comment_ID ); @@ -1732,7 +1732,7 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null * * @see get_comment_reply_link() * - * @param array $args Optional. Override default options. + * @param array $args Optional. Override default options. Default empty array. * @param int|WP_Comment $comment Comment being replied to. Default current comment. * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. @@ -1823,7 +1823,7 @@ function get_post_reply_link( $args = array(), $post = null ) { * * @see get_post_reply_link() * - * @param array $args Optional. Override default options, + * @param array $args Optional. Override default options. Default empty array. * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 8affbbdb18..3cfa2ba23a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47031'; +$wp_version = '5.4-alpha-47032'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.