Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ordering of plugins in ACP #2749

Closed
julianlam opened this issue Feb 20, 2015 · 1 comment
Closed

Allow ordering of plugins in ACP #2749

julianlam opened this issue Feb 20, 2015 · 1 comment

Comments

@julianlam
Copy link
Member

Currently, there is no way of determining plugin execution order. As active plugins are saved to a set in the data store, and the set order is determined by how the set is returned by redis/mongo (which I believe is alphanumerically?). We've simply never run into problems with this because of pure luck.

It may be advantageous for some admins to manually configure the sort order. For example, ensuring that markdown is always run first, and then the other *-embed plugins are run after it, so their HTML doesn't get accidentally clobbered when markdown sanitizes it.

So, the plugins:active set needs to be upgraded to a zset.

@barisusakli
Copy link
Member

:rage3:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants