mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
I18N: Move the "WordPress Backups" support URL to its own translatable string.
Follow-up to [48390]. See #9757. git-svn-id: https://develop.svn.wordpress.org/trunk@48447 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -247,7 +247,12 @@ function core_upgrade_preamble() {
|
||||
|
||||
if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
|
||||
echo '<div class="notice notice-warning"><p>';
|
||||
_e( '<strong>Important:</strong> Before updating, please <a href="https://wordpress.org/support/article/wordpress-backups/">back up your database and files</a>. For help with updates, visit the <a href="https://wordpress.org/support/article/updating-wordpress/">Updating WordPress</a> documentation page.' );
|
||||
printf(
|
||||
/* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */
|
||||
__( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ),
|
||||
__( 'https://wordpress.org/support/article/wordpress-backups/' ),
|
||||
__( 'https://wordpress.org/support/article/updating-wordpress/' )
|
||||
);
|
||||
echo '</p></div>';
|
||||
|
||||
echo '<h2 class="response">';
|
||||
|
||||
Reference in New Issue
Block a user