mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
5121beae78
commit
af5c8f316c
@ -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 );
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user