From e446c116828bf3f0b43372a136a4720003b01243 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 29 Sep 2008 23:47:33 +0000 Subject: [PATCH] Suggest backing up before proceeding with upgrade git-svn-id: http://svn.automattic.com/wordpress/trunk@9033 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); }