[wp-trac] [WordPress Trac] #36571: Add `$comment` parameter to `get_comment_author_email_link()`
WordPress Trac
noreply at wordpress.org
Mon May 2 19:58:25 UTC 2016
#36571: Add `$comment` parameter to `get_comment_author_email_link()`
--------------------------------------+------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by DrewAPicture):
In [changeset:"37348"]:
{{{
#!CommitTicketReference repository="" revision="37348"
Comments: Adjust `comment_author_email_link()` and
`get_comment_author_email_link()` to each accept a new optional fourth
parameter, `$comment`, which enables overriding the `$comment` global.
Adds tests.
Props flixos90, boonebgorges, DrewAPicture.
See #36571.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36571#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list