diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php
index 2af5946558..f00595a55b 100644
--- a/src/wp-admin/includes/upgrade.php
+++ b/src/wp-admin/includes/upgrade.php
@@ -272,11 +272,15 @@ if ( ! function_exists( 'wp_install_defaults' ) ) :
$first_comment_author = ! empty( $first_comment_author ) ? $first_comment_author : __( 'A WordPress Commenter' );
$first_comment_email = ! empty( $first_comment_email ) ? $first_comment_email : 'wapuu@wordpress.example';
- $first_comment_url = ! empty( $first_comment_url ) ? $first_comment_url : 'https://wordpress.org/';
- $first_comment = ! empty( $first_comment ) ? $first_comment : __(
- 'Hi, this is a comment.
+ $first_comment_url = ! empty( $first_comment_url ) ? $first_comment_url : esc_url( __( 'https://wordpress.org/' ) );
+ $first_comment = ! empty( $first_comment ) ? $first_comment : sprintf(
+ /* translators: %s: Gravatar URL. */
+ __(
+ 'Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
-Commenter avatars come from Gravatar.'
+Commenter avatars come from Gravatar.'
+ ),
+ esc_url( __( 'https://en.gravatar.com/' ) )
);
$wpdb->insert(
$wpdb->comments,