From f4742c7e62568c7ebced603eb80de2584384e0af Mon Sep 17 00:00:00 2001 From: Dumbledore Date: Mon, 28 Oct 2019 14:07:08 +0000 Subject: [PATCH] Change Gravatar server to official --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index f7d3b96..0996d25 100644 --- a/functions.php +++ b/functions.php @@ -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 );