diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-10-26 23:56:59 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-10-26 23:56:59 -0400 |
commit | bc6a61dc89a2af2e874f83d1e876d0d0b65b4e26 (patch) | |
tree | f6d53a1d2731acf2081e4c7c338f18823617cf6a /plugins/Gravatar/GravatarPlugin.php | |
parent | 5476ffa9443e728510ae1006896b663989cb01da (diff) |
Use https for gravatars
No reason not to use https, and doing so prevents mixed content warnings when the avatars are used on https pages.
Diffstat (limited to 'plugins/Gravatar/GravatarPlugin.php')
-rw-r--r-- | plugins/Gravatar/GravatarPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Gravatar/GravatarPlugin.php b/plugins/Gravatar/GravatarPlugin.php index dd8ff7217..5fcc79fd5 100644 --- a/plugins/Gravatar/GravatarPlugin.php +++ b/plugins/Gravatar/GravatarPlugin.php @@ -183,7 +183,7 @@ class GravatarPlugin extends Plugin function gravatar_url($email, $size) { - $url = "http://www.gravatar.com/avatar.php?gravatar_id=". + $url = "https://secure.gravatar.com/avatar.php?gravatar_id=". md5(strtolower($email)). "&default=".urlencode(Avatar::defaultImage($size)). "&size=".$size; |