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

Package doesn't work with when Composer dependencies loaded before Wordpress #8

Open
chrisgherbert opened this issue Mar 25, 2017 · 1 comment

Comments

@chrisgherbert
Copy link

I'm using Bedrock to manage Wordpress and plugins using Composer. It looks like wp-admin-notification assumes that WordPress will be loaded before Composer dependencies:

PHP Fatal error:  Uncaught Error: Call to undefined function add_action() in /web/myproject.com/vendor/askupa-software/wp-admin-notification/bootstrap.php:39
@ykadosh
Copy link
Contributor

ykadosh commented Mar 26, 2017

I'm not familiar with Bedrock, but usually you would use wp-admin-notification as part of a plugin or a theme, which are loaded after WordPress core.

In a Bedrock environment, how can you tell when the WordPress core has been loaded?

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

No branches or pull requests

2 participants