[wp-trac] [WordPress Trac] #37267: Don't output a cancel comment reply link if comments aren't threaded

WordPress Trac noreply at wordpress.org
Tue Nov 16 02:13:40 UTC 2021


#37267: Don't output a cancel comment reply link if comments aren't threaded
-------------------------------------------------+-------------------------
 Reporter:  henry.wright                         |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.9
Component:  Comments                             |     Version:  2.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots has-unit-  |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52175" 52175]:
 {{{
 #!CommitTicketReference repository="" revision="52175"
 Comments: Don't output "cancel comment reply link" if comments aren't
 threaded.

 Though hidden via `style="display:none;"`, if the comments aren't
 threaded, this commit doesn't output the cancel comment reply link (skips
 over that logic). Change in `comment_form()`.

 Adds tests.

 Follow-up to [12810], [38959].

 Props henrywright, jigneshnakrani, rachelbaker, desrosj, audrasjb,
 hellofromTonya.
 Fixes #37267.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37267#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list