[wp-trac] [WordPress Trac] #7487: Exclude files and folders from automatic plugin upgrade

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 9 06:46:01 GMT 2008


#7487: Exclude files and folders from automatic plugin upgrade
-------------------------+--------------------------------------------------
 Reporter:  alexrabe     |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  low          |   Milestone:  2.7      
Component:  General      |     Version:  2.7      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 The new unistall feature #5625 is a great addon and I would like to
 suggest to implement a other feature for the upgrade procedure. The
 problem :

 Some files (CSS, addon flash files, config settings, etc.) are stored in a
 plugin folder, during every automatic upgrade procedure these files will
 be removed as they are not included in the core plugin. The user must
 reupload them always again. I don't like to seperate these files outside
 the main plugin folder because they are part of the plugin.

 The possible solution :
 A hook or file (upgrade.php) defines files and folder which will be saved
 in a temp folder and will be copied back to plugin after upgrade. If there
 is any interesting and agreement from the core dev team, I can work on a
 first patch.

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


More information about the wp-trac mailing list