[wp-trac] [WordPress Trac] #41544: $id_or_email parameter in get_avatar filter needs to be more concrete
WordPress Trac
noreply at wordpress.org
Fri Aug 4 05:52:24 UTC 2017
#41544: $id_or_email parameter in get_avatar filter needs to be more concrete
----------------------------+------------------------------
Reporter: dikiy_forester | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by dikiy_forester):
> Changing the type of an existing parameter is not really possible due to
backwards compatibility concerns
This makes sense. Thank you.
So, the only one sensible way is to extract the processing identifier code
from {{{get_avatar_data()}}} to a separate function.
Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41544#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list