Make WordPress Core


Ignore:
Timestamp:
09/29/2008 11:47:33 PM (18 years ago)
Author:
ryan
Message:

Suggest backing up before proceeding with upgrade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r8989 r9033  
    132132        }
    133133
     134        echo '<p>';
     135        _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.'); 
     136        echo '</p>';
     137
     138        echo '<p><a class="button" href="export.php?download=true">' . __('Backup') . '</a></p>';
     139
    134140        if ( 'development' == $update->response ) {
    135141                $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?');
    136142                $submit = __('Download nightly build');
    137143        } else {
    138                 $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);
     144                $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);
    139145                $submit = sprintf(__('Download %s'), $update->current);
    140146        }
Note: See TracChangeset for help on using the changeset viewer.