[wp-trac] [WordPress Trac] #28373: edit_comment_link filter should pass the anchor text as a variable

WordPress Trac noreply at wordpress.org
Tue May 27 02:14:22 UTC 2014


#28373: edit_comment_link filter should pass the anchor text as a variable
-------------------------+-----------------------------
 Reporter:  kwight       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The `edit_comment_link` filter currently passes only the comment ID as a
 variable. If a developer wants to assemble their own markup for the edit
 comment link, they'll need to somehow parse the anchor text from the
 entire `$link` variable. Passing the anchor text as a variable will solve
 this.

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


More information about the wp-trac mailing list