Skip to content

Conversation

@pwtyler
Copy link
Contributor

@pwtyler pwtyler commented Sep 17, 2024

eval() was printing notices/warnings/errors coming from wp-config.php twice. This introduces output buffering to discard the "internal" printing.

Fixes: wp-cli/wp-cli#4944

Part of wp-cli/wp-cli#5985

@pwtyler pwtyler marked this pull request as ready for review September 17, 2024 19:10
@pwtyler pwtyler requested a review from a team as a code owner September 17, 2024 19:10
@pwtyler
Copy link
Contributor Author

pwtyler commented Oct 16, 2024

@schlessera, could we get 👀 on this? Anything further to consider?

@schlessera schlessera added the bug label Nov 1, 2024
@schlessera schlessera added this to the 2.3.8 milestone Nov 1, 2024
@schlessera schlessera merged commit 7f022d1 into wp-cli:main Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Constant XXX already defined notice output twice

2 participants