Suggest backing up before proceeding with upgrade
git-svn-id: http://svn.automattic.com/wordpress/trunk@9033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ea0ce44d87
commit
e446c11682
|
@ -131,11 +131,17 @@ function core_upgrade_preamble() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '<p>';
|
||||||
|
_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 '</p>';
|
||||||
|
|
||||||
|
echo '<p><a class="button" href="export.php?download=true">' . __('Backup') . '</a></p>';
|
||||||
|
|
||||||
if ( 'development' == $update->response ) {
|
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?');
|
$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');
|
$submit = __('Download nightly build');
|
||||||
} else {
|
} 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);
|
$submit = sprintf(__('Download %s'), $update->current);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue