[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 13:40:20 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: 4.0
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch commit
* milestone: Awaiting Review => 4.0
Comment:
[attachment:28373.3.diff] does the same for `edit_post_link()` and also
updates filter docs.
Replying to [comment:1 kwight]:
> 28373.2.diff can take it a step further and pass in the `$before` and
`$after` variables, bringing the `edit_comment_link` filter more in line
with the `comment_reply_link` filter.
That would make it less in line with `edit_post_link` filter :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28373#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list