WordPress3.01 not display comment Avatar Solution
Because of the time tonight to turn an article from wandering there and share it.
2.9.2 has been used before recently upgraded to version WordPress3.01, today found comment Gravatar avatar is not displayed, has been busy during the day and at night do not have time to update to view comments when Way-- not wander, do not give up children's shoes said "the page has fully been loaded to quite a long time, "I looked at the head know that this is not loaded. The original Gravatar Comment avatar server is the GFW.
The original version is 3.01 after WordPress upgrade, "http://0.gravatar.com" This server can not load the picture, it is clear that the server's IP has been unavailable
WordPress3.0.1 version does not display solutions Gravatar comment Avatar
Modify wp-includes folder below pluggable.php modify the file if they think trouble can download this modification pluggable.php file upload inside after a good pluggable.php file extraction, covering wp-includespluggable.php can!
--- use Notepad to open the line to see this code 1645
if (is_ssl ()) {
$ Host = 'https://secure.gravatar.com';
} Else {
if (! empty ($ email))
$ Host = sprintf ( "http: //?gravatar.com", (hexdec ($ email_hash {0})?));
else
$ Host = 'http://0.gravatar.com';
}
The following code is then modified to cover the save, Gravatar avatar can display the comments.
if (is_ssl ()) {
$ Host = 'https://secure.gravatar.com';
} Else {
$ Host = 'http://www.gravatar.com';
}
OK, the problem is solved, see specific site demonstration. WordPress3.01 version does not display solutions Gravatar comment Avatar
Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/WordPress3-01-not-display-comment-Avatar-Solution.htm