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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 13 09:59:42 GMT 2008


#7875: consolidate plugin/theme/core upgrade/install functions
----------------------------+-----------------------------------------------
 Reporter:  DD32            |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.8      
Component:  Administration  |     Version:  2.7      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Currently a LOT of code is being duplicated for the install/upgrade
 functions, Currently we have seperate functions for:

  * Core Upgrade
  * Plugin Upgrade
  * Plugin Install (from API URL)
  * Plugin Install (from Uploaded package)
  * Theme Upgrade
  * Theme Install (Eventually)

 Ideally, It'd be good to consolidate the Plugin/Theme functions together
 as they're basically copy-paste jobs of each other.

 I'm leaving this for 2.8 unless someone else decides to take it upon
 themselves to attempt it, I'd prefer to get something extensible rather
 than purely massive as well, which is why i'm leaving it for when theres
 more time.

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


More information about the wp-trac mailing list