[wp-trac] [WordPress Trac] #35650: title_reply_to should work when javascript is enabled

WordPress Trac noreply at wordpress.org
Fri Jun 21 00:20:32 UTC 2019


#35650: title_reply_to should work when javascript is enabled
-------------------------+-----------------------------
 Reporter:  smerriman    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by earnjam):

 * keywords:   => needs-patch
 * milestone:   => Future Release


Comment:

 This is because when javascript is enabled and the reply link is clicked,
 it simply moves the existing comment form to directly below the comment
 you are replying to.

 If you were to right click on the reply link and open in a new window,
 you'll see that it does use the supplied `title_reply_to` parameter.

 To handle this, we'd have to store the label text as inline JS on page
 load, then compute it on click replacing the `%s` placeholder with the
 author's name of the comment being replied to. That would probably have to
 come from a new `data-author` attribute added to the `Reply` link.

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


More information about the wp-trac mailing list