Exclude files and folders from automatic plugin upgrade
|Reported by:||alexrabe||Owned by:||anonymous|
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.
Change History (10)
- Milestone 2.7 deleted
- Resolution set to invalid
- Status changed from new to closed