Update log and warning logger functions comment according to the actual functionality by matiasbenedetto · Pull Request #5979 · wp-cli/wp-cli
What?
Update log and warning logger functions comment according to the actual functionality.
In this PR I'm updating those 2 function comments to state that as the other logging function being muted by the --quiet command. Example:
| * Success message is written to STDOUT, or discarded when `--quiet` flag is supplied. |
Why?
Both functions log nothing when running wp-cli with --quiet option.
Reference:
| /** | |
| * Warning messages aren't logged. | |
| * | |
| * @param string $message Message to write. | |
| */ | |
| public function warning( $message ) { | |
| // Nothing. | |
| } |