[wp-trac] Re: [WordPress Trac] #5560: Automatic Upgrade

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 7 22:13:19 GMT 2008


#5560: Automatic Upgrade
-------------------------+--------------------------------------------------
 Reporter:  keithdsouza  |        Owner:  ryan
     Type:  enhancement  |       Status:  new 
 Priority:  normal       |    Milestone:  2.9 
Component:  General      |      Version:  2.5 
 Severity:  normal       |   Resolution:      
 Keywords:  blessed      |  
-------------------------+--------------------------------------------------
Comment (by santosj):

 So basically:

  1. Check for update, if update display link for automatic upgrading.
  1. Check for locale: if not en, then check locale website for new update.
 If available then download that version instead of en version of
 !WordPress.
  1. Download latest version.
  1. Copy to upgrader folder in base WordPress folder.
  1. Send User to upgrader script in new folder.
  1. Zip up old installation to {{{upgrader/old}}}, create .htaccess and
 set permissions to restrict access.
  1. Ask user if they want to write new default theme files, and new
 akismet files over to the wp-content folders as well.
  1. Run custom upgrader script to copy new files over to old installation,
 deleting old files based on custom upgrader script.
  1. If successful, then delete all files in upgrader folder, but keep
 {{{upgrader/old}}}.
  1. Redirect to {{{base/wp-admin/upgrade.php}}} to upgrade database and
 whatever, if needed.
  1. Ask user if they want to keep the old files or delete them as well. If
 yes, then delete the {{{upgrader/old}}}, as well as {{{upgrader}}}
 directories.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5560#comment:38>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list