Fix typos in CLIRunner.php (#33231)

Fix typos in CLIRunner.php

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
mrleemon 2022-06-13 20:30:24 +02:00 committed by GitHub
parent 1e03b68598
commit 22721e6a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Correct typos in Custom Order Tables migration runner.

View File

@ -380,7 +380,7 @@ class CLIRunner {
return WP_CLI::error(
sprintf(
/* Translators: %1$d is the number of migrated orders, %2$f is time taken, %3$d is number of errors and$4%s is formatted array of order ids. */
_n( '%1$d order was verified, in %2$f seconds. %3$f error(s) found: %4$s', '%1$d orders were verified in %2$f seconds Please review above errros. %3$d error(s) found %4$s. Please review above errors.', $processed, 'woocommerce' ),
_n( '%1$d order was verified, in %2$f seconds. %3$f error(s) found: %4$s', '%1$d orders were verified, in %2$f seconds. %3$d error(s) found: %4$s. Please review above errors.', $processed, 'woocommerce' ),
$processed,
$total_time,
count( $failed_ids ),