From c9dfdbc8c6ba3bee238217b0de3b46470287ffcd Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 2 Mar 2010 21:59:15 +0000 Subject: [PATCH] Better subdomains for faster Gravatar loading. An update to [13385]. git-svn-id: https://develop.svn.wordpress.org/trunk@13560 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/pluggable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 0ae0f4afeb..1e55c9327a 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1619,9 +1619,9 @@ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) { $host = 'https://secure.gravatar.com'; } else { if ( !empty($email) ) - $host = sprintf( "http://w%d.gravatar.com", ( hexdec( $email_hash{0} ) % 2 ) ); + $host = sprintf( "http://%d.gravatar.com", ( hexdec( $email_hash{0} ) % 2 ) ); else - $host = 'http://www.gravatar.com'; + $host = 'http://0.gravatar.com'; } if ( 'mystery' == $default )