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
This commit is contained in:
Sergey Biryukov 2020-01-02 19:22:03 +00:00
parent 8ec3da8a25
commit 523bf256ef
2 changed files with 5 additions and 5 deletions

View File

@ -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.
*/

View File

@ -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.