From 7e52e7ee4402ed36fe544049cb6546d3d97ca758 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 29 Sep 2008 23:47:33 +0000 Subject: [PATCH] Suggest backing up before proceeding with upgrade git-svn-id: https://develop.svn.wordpress.org/trunk@9033 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/update.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-admin/update.php b/wp-admin/update.php index d4d7b522fa..38b21984ac 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -131,11 +131,17 @@ function core_upgrade_preamble() { return; } + echo '

'; + _e('An updated version of WordPress is available. Before upgrading, please backup your blog. Pressing the Backup button below will create a backup of your blog and prompt you to save that backup to your computer. This sometimes takes a few minutes, so please be patient. After the backup finishes, continue below to upgrade your blog automatically or manually.'); + echo '

'; + + echo '

' . __('Backup') . '

'; + if ( 'development' == $update->response ) { $message = __('You are using a development version of WordPress. You can upgrade to the latest nightly build automatically or download the nightly build and install it manually. Which would you like to do?'); $submit = __('Download nightly build'); } else { - $message = sprintf(__('You can upgrade to version %s automatically or download the nightly build and install it manually. Which would you like to do?'), $update->current); + $message = sprintf(__('You can upgrade to version %s automatically or download the package and install it manually. Which would you like to do?'), $update->current); $submit = sprintf(__('Download %s'), $update->current); }