We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the current, buggy behavior
When using "wp config has" command, it only detects the Constants defined with this line: define( 'WP_DEBUG', false );
define( 'WP_DEBUG', false );
If you define them like this: defined( 'WP_DEBUG') or define( 'WP_DEBUG', false );
defined( 'WP_DEBUG') or define( 'WP_DEBUG', false );
Then the command does not detect them and returns a rc of 1.
Describe what you would expect as the correct outcome
I will expect to detect the constant on both cases.
Let us know what environment you are running this on
This command does not output anything but I was checking it with echo $? and getting the 1 instead of the 0 expected
The text was updated successfully, but these errors were encountered:
Thanks for the report, @planetahuevo !
This looks related to (and probably the same as) #121
Let's close this issue in favor of that one.
Sorry, something went wrong.
defined( 'DB_USER' ) or
No branches or pull requests
Bug Report
Describe the current, buggy behavior
When using "wp config has" command, it only detects the Constants defined with this line:
define( 'WP_DEBUG', false );
If you define them like this:
defined( 'WP_DEBUG') or define( 'WP_DEBUG', false );
Then the command does not detect them and returns a rc of 1.
Describe what you would expect as the correct outcome
I will expect to detect the constant on both cases.
Let us know what environment you are running this on
The text was updated successfully, but these errors were encountered: