Skip to content

Commit

Permalink
Ensure proper avatar URLs in REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Sep 29, 2023
1 parent 6957bc9 commit 2b2d91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/e2e-tests/src/plugins/disable-gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static function ( $avatar, $id_or_email, $size, $default, $alt ) {

add_filter(
'get_avatar_url',
static function () {
return 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
static function ( $url ) {
return set_url_scheme( $url, 'https' );
},
1
);

0 comments on commit 2b2d91f

Please sign in to comment.