[wp-trac] [WordPress Trac] #19614: get_avatar should ignore whitespace in email addresses
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 19 19:30:07 UTC 2011
#19614: get_avatar should ignore whitespace in email addresses
-------------------------+-----------------------------
Reporter: evansolomon | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Email addresses never contain valid whitespace, so passing them to
{{{get_avatar}}} incorrectly results in the mystery man avatar. If an
email address contains whitespace we should remove it before making a
request to Gravatar.
In particular, this is likely cause problems in places where an email
address is likely to be pasted in, like person-specific custom post types
(e.g. Employees) with email fields.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19614>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list