mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Docs: Improve description of the $text parameter in cancel_comment_reply_link().
Props stevenlinx. Fixes #50642. git-svn-id: https://develop.svn.wordpress.org/trunk@48457 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user