[wp-trac] [WordPress Trac] #21195: get_avatar_url
WordPress Trac
noreply at wordpress.org
Sat Jan 10 22:28:54 UTC 2015
#21195: get_avatar_url
-----------------------------+-----------------------
Reporter: pathawks | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: 4.2
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------
Comment (by jeremyfelt):
Replying to [comment:61 nacin]:
> We could possibly use this as a template for deprecating, eventually,
all pluggable functions. Any thoughts here?
In the past, we've deprecated without making the promise that core will
continue to use the plugged version [18513]. If all instances in core
would use the `force_core_function` argument, it seems unnecessary to
continue looking for a plugged `get_avatar()`.
That said, I'm also not familiar with issues that may have arisen from
previous deprecated pluggables. If there are reasons for core to use
`wp_get_avatar()` without forcing, then the above code looks sane for
maintaining back-compat.
Looking around, #19615 could also be a good test (mostly because it's
open) for deprecating pluggable `get_currentuserinfo()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21195#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list