config-command icon indicating copy to clipboard operation
config-command copied to clipboard

Suppress output of eval(get_wp_config_code) preventing errors printing twice

Open pwtyler opened this issue 1 year ago • 0 comments

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

Fixes: https://github.com/wp-cli/wp-cli/issues/4944

Part of https://github.com/wp-cli/wp-cli/issues/5985

pwtyler avatar Sep 17 '24 19:09 pwtyler