WordPress.org

Make WordPress Core

Ticket #51175: 51175.diff

File 51175.diff, 706 bytes (added by wpamitkumar, 3 months ago)

comment form title() function $link_to_parent parameter default value going false after it's working fine.

  • src/wp-includes/comment-template.php

    diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php
    index 9a2d62c586..6315a6afae 100644
    a b function comment_id_fields( $post_id = 0 ) { 
    19731973 * @param string $link_to_parent Optional. Boolean to control making the author's name a link
    19741974 *                               to their comment. Default true.
    19751975 */
    1976 function comment_form_title( $no_reply_text = false, $reply_text = false, $link_to_parent = true ) {
     1976function comment_form_title( $no_reply_text = false, $reply_text = false, $link_to_parent = false ) {
    19771977        global $comment;
    19781978
    19791979        if ( false === $no_reply_text ) {