Make WordPress Core

Changeset 48457


Ignore:
Timestamp:
07/13/2020 02:40:27 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve description of the $text parameter in cancel_comment_reply_link().

Props stevenlinx.
Fixes #50642.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r48393 r48457  
    18681868 * @since 2.7.0
    18691869 *
    1870  * @param string $text Optional. Text to display for cancel reply link. Default empty.
     1870 * @param string $text Optional. Text to display for cancel reply link. If empty,
     1871 *                     defaults to 'Click here to cancel reply'. Default empty.
    18711872 * @return string
    18721873 */
     
    18981899 * @since 2.7.0
    18991900 *
    1900  * @param string $text Optional. Text to display for cancel reply link. Default empty.
     1901 * @param string $text Optional. Text to display for cancel reply link. If empty,
     1902 *                     defaults to 'Click here to cancel reply'. Default empty.
    19011903 */
    19021904function cancel_comment_reply_link( $text = '' ) {
Note: See TracChangeset for help on using the changeset viewer.