Remove protocol from Gravatar images to prevent SSL mixed content errors

This commit is contained in:
Brian Miyaji
2017-06-15 22:42:18 +10:00
parent 0117fa38dd
commit 83ebb9e81b
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ if ( $link_posts )
if ( has_post_thumbnail( $id ) )
$thumbnail = get_the_post_thumbnail( $id, $size );
else
$thumbnail = '<img width="150" height="150" src="http://www.gravatar.com/avatar/?s=150&d=mm&f=y" class="attachment-thumbnail wp-post-image">';
$thumbnail = '<img width="150" height="150" src="//www.gravatar.com/avatar/?s=150&d=mm&f=y" class="attachment-thumbnail wp-post-image">';
echo "<{$itemtag} class='gallery-item'>";
echo "

View File

@@ -30,7 +30,7 @@ if ( $link_posts )
if ( has_post_thumbnail( $id ) )
$thumbnail = get_the_post_thumbnail( $id, $size );
else
$thumbnail = '<img width="150" height="150" src="http://www.gravatar.com/avatar/?s=150&d=blank&f=y" class="attachment-thumbnail wp-post-image">';
$thumbnail = '<img width="150" height="150" src="//www.gravatar.com/avatar/?s=150&d=blank&f=y" class="attachment-thumbnail wp-post-image">';
echo "<{$itemtag} class='gallery-item'>";
echo "