[wp-trac] [WordPress Trac] #22354: Gravatar Shouldn't Use images/blank.gif
WordPress Trac
noreply at wordpress.org
Sat Nov 3 02:43:47 UTC 2012
#22354: Gravatar Shouldn't Use images/blank.gif
-----------------------------+--------------------------
Reporter: miqrogroove | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.4.2 | Severity: normal
Keywords: |
-----------------------------+--------------------------
There is a very subtle flow-of-control error in pluggable.php:
{{{
elseif ( 'blank' == $default )
$default = includes_url('images/blank.gif');
}}}
This makes sense when $email has no value, because it will cause the local
blank.gif file to be displayed. However...
When $email is not empty, this function is causing the gravatar.com server
to make a proxy request to the blank.gif file and display the local file
through a remote request. This is not the intended behavior. When the
$email value is present, the Gravatar request should simply contain
"&d=blank" to get a blank image.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22354>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list