2017-02-20, 01:52 PM
Just an idea for better plugin support in feature, every plugin have already an version number.
What if we store this version number on installation routine in the database, if some one now upload a new version we can detect the changed version number and are able to call a plugin upgrade/update routine.
This will add update(or upgrade) to the exists functions like install, uninstall, activate and deaktivate.
This will give better upgradeablility without losing data from existing plugins, for example update table structures instead of use uninstall routine (lose exists data) and reinstall just for updating a used plugin.
What if we store this version number on installation routine in the database, if some one now upload a new version we can detect the changed version number and are able to call a plugin upgrade/update routine.
This will add update(or upgrade) to the exists functions like install, uninstall, activate and deaktivate.
This will give better upgradeablility without losing data from existing plugins, for example update table structures instead of use uninstall routine (lose exists data) and reinstall just for updating a used plugin.