Skip to content
New issue

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

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

Already on GitHub? # to your account

Defer pluginHooks() to the 'plugins_loaded' hook #25

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

markjaquith
Copy link
Contributor

This ensures that pluggable functions are available when the activation hooks are fired.

The priority is -9999 so that the activation hooks likely fire before any other functionality the plugins are attempting.

fixes #24

This ensures that pluggable functions are available when the activation hooks are fired.

The priority is -9999 so that the activation hooks likely fire before any other functionality the plugins are attempting.

fixes roots#24
Copy link
Member

@retlehs retlehs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@retlehs retlehs merged commit f508348 into roots:master Dec 4, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin activation hooks fire too early in the WordPress loading sequence
2 participants