[wp-trac] [WordPress Trac] #47174: Comment reply links are always to first comment form on a page when $withcomments variable is set to true

WordPress Trac noreply at wordpress.org
Tue Aug 13 05:08:24 UTC 2019


#47174: Comment reply links are always to first comment form on a page when
$withcomments variable is set to true
--------------------------------------+----------------------------
 Reporter:  johnh10                   |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Comments                  |     Version:  5.1
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"45787" 45787]:
 {{{
 #!CommitTicketReference repository="" revision="45787"
 Comments: Include post permalink in comment reply link.

 Include the post's permalink when generating reply links in
 `get_comment_reply_link()` to account for comments displayed on index and
 archive pages.

 This reapplies [32786] which was inadvertently reverted in [42360].

 Props justinahinon, donmhico.
 See #33383.
 Fixes #47174.
 }}}

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


More information about the wp-trac mailing list