From 4de5282f235f02605ffd86356c23d19c0a6b5ee7 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 25 Jul 2024 22:38:01 +0000 Subject: [PATCH] General: Update English Gravatar links. Replace links to en.gravatar.com with links to gravatar.com as the english site now uses the base domain. This avoids an unnecessary redirect for english language sites. The links remain translatable for non-english versions of WordPress. Props narenin, knutsp. Fixes #61424. git-svn-id: https://develop.svn.wordpress.org/trunk@58810 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 3 ++- src/wp-admin/user-edit.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 715f5e2bdbc70..a7f29b294aa92 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -278,7 +278,8 @@ function wp_install_defaults( $user_id ) { To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard. Commenter avatars come from Gravatar.' ), - esc_url( __( 'https://en.gravatar.com/' ) ) + /* translators: The localized Gravatar URL. */ + esc_url( __( 'https://gravatar.com/' ) ) ); $wpdb->insert( $wpdb->comments, diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index f66a54d85fbb6..07810adc7a841 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -628,7 +628,8 @@ $description = sprintf( /* translators: %s: Gravatar URL. */ __( 'You can change your profile picture on Gravatar.' ), - __( 'https://en.gravatar.com/' ) + /* translators: The localized Gravatar URL. */ + __( 'https://gravatar.com/' ) ); } else { $description = '';