[wp-trac] Re: [WordPress Trac] #7875: consolidate plugin/theme/core upgrade/install functions

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 7 02:43:53 GMT 2009


#7875: consolidate plugin/theme/core upgrade/install functions
-----------------------------+----------------------------------------------
 Reporter:  DD32             |       Owner:  anonymous              
     Type:  enhancement      |      Status:  new                    
 Priority:  highest omg bbq  |   Milestone:  2.8                    
Component:  Administration   |     Version:  2.7                    
 Severity:  major            |    Keywords:  has-patch needs-testing
-----------------------------+----------------------------------------------
Changes (by DD32):

  * keywords:  needs-patch => has-patch needs-testing


Comment:

 The original intention of this ticket was to combine the actual backend
 processing of it, So i've finished up doing that.

 I still want to clean up some variables and attack the UI functions a bit
 more, There are some things which are duplicated still (The credential
 checks namly). Having A Single class which does the UI for install/upgrade
 would be nice, and is what i'll be working towards later this week.

 The patch i'm about to attach, Consolidates the Plugin/Theme
 upgrade/install, and some of the Core Upgrade functionality into a
 WP_Upgrader class, with Plugin/Theme/Core being child classes which set
 the options and specific strings..

 As for commiting this patch, If a core-dev feels like it, and thinks its
 worthy, Go ahead.. But it should be noted, I've only tested on Windows, I
 havnt tried working via FTP yet, or a linux server. The plugin deletion
 code has been copied over from the old code directly, So there should be
 no mass-deletions, But it needs testing before i'd consider saying
 "Everyone, use this in production!!"

 As for your request for 2.8, That could be up to the core devs on the
 actual release schedule 2.8 has..

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


More information about the wp-trac mailing list