代码文件路径:/wp-includes/pluggable.php

if ( is_ssl() ) {
$host = ‘https://secure.gravatar.com’;
} else {
if ( !empty($email) )
$host = sprintf( “http://%d.gravatar.com”, ( hexdec( $email_hash{0} ) % 2 ) );
else
$host = ‘http://0.gravatar.com’;
}

替换为:


 

if ( is_ssl() )
$host = ‘https://secure.gravatar.com’;
else $host = ‘http://www.gravatar.com’;