[wp-trac] [WordPress Trac] #10569: Allow filtering of reply text with comment context

WordPress Trac noreply at wordpress.org
Mon Oct 27 00:10:39 UTC 2014


#10569: Allow filtering of reply text with comment context
---------------------------+----------------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  4.1
Component:  Comments       |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  accessibility
---------------------------+----------------------------
Changes (by aaroncampbell):

 * keywords:  needs-refresh => has-patch


Comment:

 Talked to @johnbillion about this and we decided to go the direction
 @joedolson suggested and filter the `$args` array. The reason is that we
 actually have three strings that would all be useful to filter. One
 displays when a user is logged out and needs to be registered, one
 displays to everyone else, and one is used for the `aria-label`. It just
 made more sense than adding individual filters. [attachment:10569.diff]
 adds the new filter `comment_reply_link_args`

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


More information about the wp-trac mailing list