diff --git a/src/wp-admin/includes/class-plugin-installer-skin.php b/src/wp-admin/includes/class-plugin-installer-skin.php index c23b51e7f3..59853c47d3 100644 --- a/src/wp-admin/includes/class-plugin-installer-skin.php +++ b/src/wp-admin/includes/class-plugin-installer-skin.php @@ -282,9 +282,17 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { if ( $can_update ) { if ( $this->is_downgrading ) { - $warning = __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to backup your database and files first.' ); + $warning = sprintf( + /* translators: %s: Documentation URL. */ + __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to back up your database and files first.' ), + __( 'https://wordpress.org/support/article/wordpress-backups/' ) + ); } else { - $warning = __( 'You are updating a plugin. Be sure to backup your database and files first.' ); + $warning = sprintf( + /* translators: %s: Documentation URL. */ + __( 'You are updating a plugin. Be sure to back up your database and files first.' ), + __( 'https://wordpress.org/support/article/wordpress-backups/' ) + ); } echo '

' . $warning . '

'; diff --git a/src/wp-admin/includes/class-theme-installer-skin.php b/src/wp-admin/includes/class-theme-installer-skin.php index 04693a879b..6850e8bbb2 100644 --- a/src/wp-admin/includes/class-theme-installer-skin.php +++ b/src/wp-admin/includes/class-theme-installer-skin.php @@ -311,9 +311,17 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { if ( $can_update ) { if ( $this->is_downgrading ) { - $warning = __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to backup your database and files first.' ); + $warning = sprintf( + /* translators: %s: Documentation URL. */ + __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to back up your database and files first.' ), + __( 'https://wordpress.org/support/article/wordpress-backups/' ) + ); } else { - $warning = __( 'You are updating a theme. Be sure to backup your database and files first.' ); + $warning = sprintf( + /* translators: %s: Documentation URL. */ + __( 'You are updating a theme. Be sure to back up your database and files first.' ), + __( 'https://wordpress.org/support/article/wordpress-backups/' ) + ); } echo '

' . $warning . '

'; diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 57b1619150..c4a7fb0e54 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -247,7 +247,12 @@ function core_upgrade_preamble() { if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) { echo '

'; - _e( 'Important: Before updating, please back up your database and files. For help with updates, visit the Updating WordPress documentation page.' ); + printf( + /* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */ + __( 'Important: Before updating, please back up your database and files. For help with updates, visit the Updating WordPress documentation page.' ), + __( 'https://wordpress.org/support/article/wordpress-backups/' ), + __( 'https://wordpress.org/support/article/updating-wordpress/' ) + ); echo '

'; echo '

';