[wp-trac] Re: [WordPress Trac] #8589: Bulk Upgrade Plugins

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 17 22:48:11 GMT 2009


#8589: Bulk Upgrade Plugins
-----------------------------+----------------------------------------------
 Reporter:  ydekproductions  |        Type:  enhancement    
   Status:  new              |    Priority:  normal         
Milestone:  Future Release   |   Component:  Upgrade/Install
  Version:  2.7              |    Severity:  normal         
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------

Comment(by scribu):

 Replying to [comment:3 ydekproductions]:
 > What if we set up a queue in the session for what updates need upgraded.
 When one is complete, it refreshes the update page, the next item in the
 queue is handled.  Error or not, it just automatically goes through the
 requests and makes it happen.

 Here's how I think it could be implemented without requiring javascript
 and without reaching any resource limit:

 1. User chooses multiple plugins for upgrade.
 2. Store the plugins to be upgraded in an option (maybe use
 set_transient()).
 3. For each plugin, do the normal upgrade.
 4. If all went well, do a JS redirect to the next plugin, or show a
 "Continue..." button.
 4*. If there was an error, show a "Continue upgrading other plugins?"
 button.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8589#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list