Plugin Dependencies: Require the class in Core's bootstrap, but just don't initialize it during tests.#16
Conversation
…itional. Previously, the inclusion of the `WP_Plugin_Dependencies()` was also conditional, causing a Fatal Error during test runs with internal callstacks requiring it.
|
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @me@colin-stewart.co.uk. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. Core SVNIf you're a Core Committer, use this list when committing to GitHub Merge commitsIf 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. |
Previously, the inclusion of the
WP_Plugin_Dependencies()was also conditional, causing a Fatal Error during test runs with internal callstacks requiring it.This moves the
require_onceout of the conditional.