From db0c2dacbfbb0e854cac7bd3533e17dea5f04852 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 25 Jul 2024 22:40:09 +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. Built from https://develop.svn.wordpress.org/trunk@58810 git-svn-id: http://core.svn.wordpress.org/trunk@58206 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 3 ++- wp-admin/user-edit.php | 3 ++- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 715f5e2bdb..a7f29b294a 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -278,7 +278,8 @@ if ( ! function_exists( 'wp_install_defaults' ) ) : 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/wp-admin/user-edit.php b/wp-admin/user-edit.php index f66a54d85f..07810adc7a 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -628,7 +628,8 @@ switch ( $action ) { $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 = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index a62d0ed8af..0bb154cc04 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58809'; +$wp_version = '6.7-alpha-58810'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.