Coding sort order and settings
-
Hi Jeff Sterup,
First things first: thank you very much for this beautiful piece of code. PO is something really useful for the ones who cares about user experience, resource usage and performance.
With the help of others, we’re developing a whole new WordPress powered website to this small startup of mine. In that effort we have set different environments for development, staging and production. These environments are connected through a continuous integration process, so the changes in dev only goes to production if tests goes fine in staging.
In that process, we sometimes need to destroy the development environment and start over. This is when something annoying comes to PO: on every new environment, we have to manually set the plugins order in Group And Order Plugins page. This is quite tedious.
I wonder if we could automate that. If yes, than that code goes under VCS so other developers just pull, run and bang! Plugins are in the order they should be. The same would be nice for the PO settings.
By digging into PO’s code and DB I found that the plugin order is stored in wp_options.option_name.PO_plugin_order. However, by editing its content by hand do not change the order in the page, so I think that there must be something bit of data to change so this could work.
Thank you for any piece of advice on this, although it’s not related at all with PO’s main functionality.
The topic ‘Coding sort order and settings’ is closed to new replies.