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

v4 fix 744 #749

Merged
merged 3 commits into from
Aug 23, 2024
Merged

v4 fix 744 #749

merged 3 commits into from
Aug 23, 2024

Conversation

lucatume
Copy link
Owner

@lucatume lucatume commented Aug 22, 2024

fixes #744

Change the code of the WPLoader module to load WordPress, whether the
loadOnly flag is set to true or false, in the _beforeSuite
method.

This removes the need, for the module, to rely on the dispatching,
subscribing and need to do so, to the main Codeception system through
the Codeception event dispatcher.

Kudos to @lxbdr for the proposed solution.

@lucatume lucatume self-assigned this Aug 22, 2024
fixes #744

Change the code of the `WPLoader` module to load WordPress, whether the
`loadOnly` flag is set to `true` or `false`, in the `_beforeSuite`
method.

This removes the need, for the module, to rely on the dispatching,
subscribing and need to do so, to the main Codeception system through
the Codeception event dispatcher.

Kudos to @lxbdr for the proposed solution.
@lucatume lucatume marked this pull request as ready for review August 23, 2024 05:54
@lucatume lucatume merged commit 20cf624 into master Aug 23, 2024
51 checks passed
@lucatume lucatume deleted the v4-fix-744 branch August 23, 2024 05:55
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

Successfully merging this pull request may close these issues.

[BUG] WordPress not loaded with WPLoader loadOnly: true
1 participant