[wp-trac] [WordPress Trac] #63087: Make the Default Avatar support Gravatar's newly added Initials Avatars and Color Avatars
WordPress Trac
noreply at wordpress.org
Sat Oct 4 18:41:27 UTC 2025
#63087: Make the Default Avatar support Gravatar's newly added Initials Avatars and
Color Avatars
-------------------------+-----------------------
Reporter: haozi | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+-----------------------
Comment (by SergeyBiryukov):
In [changeset:"60900" 60900]:
{{{
#!CommitTicketReference repository="" revision="60900"
Code Modernization: Use `str_contains()` in `get_avatar_data()`.
`str_contains()` was introduced in PHP 8.0 to perform a case-sensitive
check indicating if the string to search in (haystack) contains the given
substring (needle).
WordPress core includes a polyfill for `str_contains()` on PHP < 8.0 as of
WordPress 5.9.
Follow-up to [52039], [55988], [56245], [60897].
Props TobiasBg.
See #63087.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63087#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list