Skip to content

Commit

Permalink
secure.gravatar.com is deprecated, use www.
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Dec 2, 2021
1 parent f46a920 commit 2307208
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/classes/avatars.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ public function __construct (Setup $setup)

// Use HTTPS if this file is requested with HTTPS
$http = ($is_https ? 'https' : 'http') . '://';
$subdomain = $is_https ? 'secure' : 'www';

// Construct Gravatar icon URL
$this->gravatar = $http . $subdomain . '.gravatar.com/avatar/';
$this->gravatar = $http . 'www.gravatar.com/avatar/';

// Icon setup
$this->iconSetup ($setup->iconSize);
Expand Down

0 comments on commit 2307208

Please sign in to comment.