2011-08-31, 04:11:20
2011-08-31, 05:17:46
the main sidebar items are hardcoded
plugin items are added in the order they are registered.
which is alphabetically.
we had toyed with using a priority for plugins but we figured everyone would just prioritize their own plugins first...
mike
plugin items are added in the order they are registered.
which is alphabetically.
we had toyed with using a priority for plugins but we figured everyone would just prioritize their own plugins first...
mike
2011-08-31, 05:36:56
n00dles101 Wrote:the main sidebar items are hardcoded
plugin items are added in the order they are registered.
which is alphabetically.
we had toyed with using a priority for plugins but we figured everyone would just prioritize their own plugins first...
mike
Thanks for answering
So the plugin filename controls the order (Alphabetically), or the plugin name?
2011-08-31, 05:43:13
Just looking into this. The files in the plugin folder read in using the opendir function which on a Unix/Linux system will return the files according to the filestamp.
This causing a problem?
Priority system is easy to implement. It does make sense for some plugins to run after all other, caching etc...
M
This causing a problem?
Priority system is easy to implement. It does make sense for some plugins to run after all other, caching etc...
M
2011-08-31, 06:36:00
n00dles101 Wrote:Just looking into this. The files in the plugin folder read in using the opendir function which on a Unix/Linux system will return the files according to the filestamp.
This causing a problem?
Priority system is easy to implement. It does make sense for some plugins to run after all other, caching etc...
M
Its not* (edit: Forgot the "not") so much of a problem as it is an annoyance, I have run into times where the interface would be easier to use if the sidebar was organized a certain way. screenshot explains
It would be great to be able to accomplish ordering like in the below snippet:
Code:
add_action('xxxxxx-sidebar','createSideMenu',array('your-plugin-filename','Menu Text',1));