diff --git a/packages/e2e-tests/src/plugins/disable-gravatar.php b/packages/e2e-tests/src/plugins/disable-gravatar.php index 53411a62361a..70d8cebe1615 100644 --- a/packages/e2e-tests/src/plugins/disable-gravatar.php +++ b/packages/e2e-tests/src/plugins/disable-gravatar.php @@ -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 );