-
Notifications
You must be signed in to change notification settings - Fork 54
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
Improve active_plugins
filter
#608
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
ada8e43
to
4ee7ea2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swissspidy Thanks, looks great! Just a few minor comments.
includes/Checker/Preparations/Force_Single_Plugin_Preparation.php
Outdated
Show resolved
Hide resolved
includes/Checker/Preparations/Force_Single_Plugin_Preparation.php
Outdated
Show resolved
Hide resolved
@swissspidy Are you planning to merge #518 first and then see which uncommented Behat tests this here will fix? |
Yep! |
Right now I can't enable any of the commented out Behat tests because they're still not passing, because we still need to address (2) and (3) from #597 (comment) |
I think it would only be point (3) that would help with the remaining Behat tests, so maybe we can work on that one first. Could you give it a try to implement a Behat test that runs two runtime checks, one from the addon and one built-in one? For instance amend/duplicate the very last Behat test in |
Following up on my previous comment, based on what I wrote in #597 (comment), I would actually assume that if you do what I recommended before, you'll run into the exception that the slug is invalid - which will prevent the rest from proceeding even if then the plugin checker technically would know to initialize runtime environment preparations. |
Argh, sorry I missed this suggestion. I think we can do this in #612 though |
See #518 and #597.
Filters active plugins to only include required ones. This means:
To-do: