[wp-trac] [WordPress Trac] #31469: get_avatar_data() Needs More Args
WordPress Trac
noreply at wordpress.org
Thu Feb 26 21:16:04 UTC 2015
#31469: get_avatar_data() Needs More Args
-------------------------+--------------------
Reporter: miqrogroove | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+--------------------
Comment (by wonderboymusic):
In [changeset:"31561"]:
{{{
#!CommitTicketReference repository="" revision="31561"
In `get_avatar_data()` and `get_avatar()`, allow `height` and `width` to
be specified separately (both default to `size`). Also allow arbitrary
attributes on the `<img>` via the `extra_attr` arg.
Props miqrogroove.
See #31469.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31469#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list