Skip to content

Commit 7978aad

Browse files
Copilotswissspidy
andcommitted
Use WP_CLI::log instead of WP_CLI::line for proper quiet logger support
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 75f704d commit 7978aad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WP_CLI/CommandWithTranslation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function update( $args, $assoc_args ) {
119119
if ( ! Utils\get_flag_value( $assoc_args, 'dry-run' ) ) {
120120
// Update translations.
121121
foreach ( $available_updates as $update ) {
122-
WP_CLI::line( "Updating '{$update->Language}' translation for {$update->Name} {$update->Version}..." );
122+
WP_CLI::log( "Updating '{$update->Language}' translation for {$update->Name} {$update->Version}..." );
123123

124124
/**
125125
* @var \WP_CLI\LanguagePackUpgrader $upgrader_instance

0 commit comments

Comments
 (0)