This PR sets the WordPress debug constants during the CLI boot.
Depending on the --debug flag, WP_DEBUG, and WP_DEBUG_LOG will be set to true or false during boot.
The WP_DEBUG_DISPLAY constant will always be set to false to match the Website behavior.
This PR sets the WordPress debug constants during the CLI boot.
Depending on the
--debug
flag,WP_DEBUG
, andWP_DEBUG_LOG
will be set to true or false during boot. TheWP_DEBUG_DISPLAY
constant will always be set tofalse
to match the Website behavior.Disabling
WP_DEBUG_DISPLAY
will also avoid crashing the CLI during boot if a plugin activation fails. Long-term https://github.com/WordPress/wordpress-playground/issues/1979 shouldn't crash Playground anymore, but we still want these constant defaults in the CLI.Testing Instructions (or ideally a Blueprint)
BLUEPRINT_PATH
to match your path)