From af5c8f316ca09da828d9c49bf8430b4f25eb15db Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 13 Jul 2020 14:42:03 +0000 Subject: [PATCH] Docs: Improve description of the `$text` parameter in `cancel_comment_reply_link()`. Props stevenlinx. Fixes #50642. Built from https://develop.svn.wordpress.org/trunk@48457 git-svn-id: http://core.svn.wordpress.org/trunk@48226 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 6 ++++-- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index a27764b93f..f52c4989ff 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1867,7 +1867,8 @@ function post_reply_link( $args = array(), $post = null ) { * * @since 2.7.0 * - * @param string $text Optional. Text to display for cancel reply link. Default empty. + * @param string $text Optional. Text to display for cancel reply link. If empty, + * defaults to 'Click here to cancel reply'. Default empty. * @return string */ function get_cancel_comment_reply_link( $text = '' ) { @@ -1897,7 +1898,8 @@ function get_cancel_comment_reply_link( $text = '' ) { * * @since 2.7.0 * - * @param string $text Optional. Text to display for cancel reply link. Default empty. + * @param string $text Optional. Text to display for cancel reply link. If empty, + * defaults to 'Click here to cancel reply'. Default empty. */ function cancel_comment_reply_link( $text = '' ) { echo get_cancel_comment_reply_link( $text ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9715ab77fc..13b60a73a7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta1-48456'; +$wp_version = '5.5-beta1-48457'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.