Wordpress prohibits calling the official Gravatar profile picture to call the ssl profile picture link to increase the loading speed. wordpressgravatar. Wordpress prohibits calling the official Gravatar profile picture to call the ssl profile picture link to speed up loading. wordpressgravatar functions in the topic. add the following code to the end of the PHP file (the appearance editing fu wordpress prohibits calling the official Gravatar avatar to call the ssl Avatar link to increase the loading speed, wordpressgravatar
Add the following code to the end of the functions. php file in the topic (Appearance> Edit> functions. php)
1 // The official Gravatar profile call ssl profile Call Link 2 function get_ssl_avatar ($ avatar) {3 $ avatar = preg_replace ('/. * \/avatar \/(.*)\? S = ([\ d] +) &. */', '', $ avatar); 4 return $ avatar; 5}
Add the following code to the end of the functions. php file in the topic (edit the appearance fu...