-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Custom file with wp-load loads wp-cli #309
Labels
bug
Something isn't working
Comments
We only load the wp-cli kernel if the WP_CLI class exists, which presumably is only present if you're running wp-cli, in which case it makes sense that Acorn would load in wp-cli. Your solution for specifying the Http kernel makes sense. I would not consider this a bug. We have an issue to document how to specify a separate kernel, similar to what you've done. I'm going to close this out in favor of roots/docs#507 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0
What did you expect to happen?
I have integration.php file in main wordpress folder.
In the beginning of this file I included wp-load.php
I need to do this instead:
`\Roots\bootloader()->boot(function($app) {
});`
What actually happens?
When I want to run this file by CLI wp-cli is running and file is not running properly.
Steps to reproduce
Run custom file with wp-load.php in the begining
System info
No response
Log output
No response
Please confirm this isn't a support request.
Yes
The text was updated successfully, but these errors were encountered: