mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
Change Gravatar server to official
This commit is contained in:
parent
d10a957567
commit
f4742c7e62
@ -565,7 +565,7 @@ function get_link_items(){
|
||||
*/
|
||||
function gravatar_cn( $url ){
|
||||
$gravatar_url = array('0.gravatar.com','1.gravatar.com','2.gravatar.com','secure.gravatar.com');
|
||||
return str_replace( $gravatar_url, 'gravatar.shino.cc', $url );
|
||||
return str_replace( $gravatar_url, 'cn.gravatar.com', $url );
|
||||
}
|
||||
add_filter( 'get_avatar_url', 'gravatar_cn', 4 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user