Use has_config() in get_config() to prevent warnings on null values by dougaxe1 · Pull Request #5880 · wp-cli/wp-cli
…f equivelent isset() which throws a warning for null values. A null value can occur if the option is present, but without a value. Certain config values, such as --url, default to null causing has_config() to be true, while throwing a warning in get_config(). This change provides consistency between has_config() and get_config().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters