[wp-trac] [WordPress Trac] #46926: May be a bug of comment_form_title() function?

WordPress Trac noreply at wordpress.org
Mon Apr 15 00:35:23 UTC 2019


#46926: May be a bug of comment_form_title() function?
--------------------------+-----------------------------
 Reporter:  syshut        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.1.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

 In comments.php template, I use comment_form() function to output the
 commenting form:


 {{{#!php
 <?php
         $comments_args = array(
                 'title_reply_to'       => 'Leave a Reply to %s',
         );
         comment_form( $comments_args );
 }}}


 But when I click on the Reply button on each comment, the reply title of
 the commenting form is not what I’ve set, but still ‘Leave a Reply’.

 I checked out the default themes with my site, and some other wordpress
 websites whether with default themes or with self-made themes, they were
 all like this.

 I figured out it may be the bug of the comment_form_title() function, so
 please check it out.

 Example link: [http://ottopress.com/2013/im-not-a-fan-of-orange/]

 Thank you!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46926>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list