diff --git a/composer.lock b/composer.lock index 82fa8561d..9e6d426c1 100644 --- a/composer.lock +++ b/composer.lock @@ -1915,16 +1915,16 @@ }, { "name": "wp-cli/language-command", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/language-command.git", - "reference": "cb637e7f3f6f8fbed641a97ee560b4b2e054b0da" + "reference": "4f47985d78e4580df2d68eda203e6db0e6b5eb9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/language-command/zipball/cb637e7f3f6f8fbed641a97ee560b4b2e054b0da", - "reference": "cb637e7f3f6f8fbed641a97ee560b4b2e054b0da", + "url": "https://api.github.com/repos/wp-cli/language-command/zipball/4f47985d78e4580df2d68eda203e6db0e6b5eb9d", + "reference": "4f47985d78e4580df2d68eda203e6db0e6b5eb9d", "shasum": "" }, "require": { @@ -1989,9 +1989,9 @@ "homepage": "https://github.com/wp-cli/language-command", "support": { "issues": "https://github.com/wp-cli/language-command/issues", - "source": "https://github.com/wp-cli/language-command/tree/v3.0.2" + "source": "https://github.com/wp-cli/language-command/tree/v3.0.3" }, - "time": "2026-11-02T05:07:32+00:00" + "time": "2026-12-01T12:32:00+00:00" }, { "name": "wp-cli/maintenance-mode-command", @@ -2796,12 +2796,12 @@ "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "e9266b6939e65c76132d78750ff0a2ab37dd04b9" + "reference": "cb173ae78f991e9f1f58d35fa61fecc80dbffa9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/e9266b6939e65c76132d78750ff0a2ab37dd04b9", - "reference": "e9266b6939e65c76132d78750ff0a2ab37dd04b9", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/cb173ae78f991e9f1f58d35fa61fecc80dbffa9a", + "reference": "cb173ae78f991e9f1f58d35fa61fecc80dbffa9a", "shasum": "" }, "require": { @@ -2873,7 +2873,7 @@ "issues": "https://github.com/wp-cli/wp-cli/issues", "source": "https://github.com/wp-cli/wp-cli" }, - "time": "2026-11-24T23:10:58+00:00" + "time": "2026-12-01T13:37:25+00:00" }, { "name": "wp-cli/wp-config-transformer", diff --git a/features/command.feature b/features/command.feature index d17c9b855..8faf95ed5 100644 --- a/features/command.feature +++ b/features/command.feature @@ -288,7 +288,7 @@ Feature: WP-CLI Commands WP_CLI::add_command( 'command', 'Custom_Command_Class' ); """ - When I try `wp --require=custom-cmd.php command invalid < session_no` + When I try `WP_CLI_AUTOCORRECT=confirm wp --require=custom-cmd.php command invalid < session_no` Then STDERR should contain: """ Warning: 'invalid' is not a registered subcommand of 'command'. See 'wp help command' for available subcommands. @@ -1185,19 +1185,19 @@ Feature: WP-CLI Commands n """ - When I try `wp clu < session_no` + When I try `WP_CLI_AUTOCORRECT=confirm wp clu < session_no` Then STDOUT should contain: """ Did you mean 'cli'? """ - When I try `wp cli nfo < session_no` + When I try `WP_CLI_AUTOCORRECT=confirm wp cli nfo < session_no` Then STDOUT should contain: """ Did you mean 'info'? """ - When I try `wp cli beyondlevenshteinthreshold` + When I try `WP_CLI_AUTOCORRECT=confirm wp cli beyondlevenshteinthreshold` Then STDOUT should not contain: """ Did you mean