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

Calling get_plugins() function too early #8

Open
Stiofan opened this issue Mar 3, 2020 · 1 comment
Open

Calling get_plugins() function too early #8

Stiofan opened this issue Mar 3, 2020 · 1 comment
Labels

Comments

@Stiofan
Copy link

Stiofan commented Mar 3, 2020

You are calling the get_plugins() function immediately on your plugin load, it is recommended to call this on the 'after_setup_theme' hook or later.

The issue is that the function caches the result of the function call on its first call, hence any plugin or theme using its filters will be unsuccessful as the data is already cached by your early call, rendering the filters useless.

Please fix this issue.

@remyperona remyperona added the bug label Mar 4, 2020
@alfonso100
Copy link

The customer opened a support ticket asking about the issue status:
https://secure.helpscout.net/conversation/1749247475/317763?folderId=2683093

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

No branches or pull requests

3 participants