[wp-trac] [WordPress Trac] #36538: Allow to pass comment ID and class to `edit_comment_link()`
WordPress Trac
noreply at wordpress.org
Fri Apr 15 14:40:51 UTC 2016
#36538: Allow to pass comment ID and class to `edit_comment_link()`
-------------------------+-----------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 1.0
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Similar to `edit_post_link()`, it would be useful to allow passing the
comment ID we want to get the link for to the function. And while we're at
it, we can also add the `$class` parameter to allow setting a different
CSS class than the default.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36538>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list