[wp-trac] [WordPress Trac] #35920: Function to check if user has a gravatar account
WordPress Trac
noreply at wordpress.org
Tue Feb 23 13:48:24 UTC 2016
#35920: Function to check if user has a gravatar account
-----------------------------+-----------------------------
Reporter: wordpresssites | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
Something like {{{has_gravatar}}} would be a good function/conditional to
check if the user has a Gravatar account otherwise you could set a
fallback using code.
Ar present, the only way is to use all this code
https://codex.wordpress.org/Using_Gravatars#Checking_for_the_Existence_of_a_Gravatar
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35920>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list