Replace boolean value of config variables to literal string when showing to the user
This pull request fixes following issue
- #165
I refactored the code to return the string representation of a boolean value (i.e., 'true' or 'false'), which is easier to display to the user. Previously, when the variable's value was true, it would render as '1', and blank when false. Using strings allows us to provide clearer guidance to the user regarding which value is true and which is false.
Can I get a review on this PR? @danielbachhuber
@imrraaj, can this be tested with the behat feature tests to cover the various types of truthy/falsy values that might be used in wp-config?
@imrraaj I think this can potentially break scripts that already rely on the current behavior.
We could put this behind a flag and have the flag default to using this if interactive and not using this if non-interactive.
I'll need to check what prior behavior we have that is similar to this so we can stay consistent...