Skip to content

Commit

Permalink
fix: --batched flag was removed from command, it's now the default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiesshop committed Oct 9, 2024
1 parent 8e8bdbd commit 96307c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/cli/class-co-authors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function init() {
public static function run_cap_cli_command() {
if ( method_exists( 'WP_CLI', 'runcommand' ) ) {
$result = WP_CLI::runcommand(
'co-authors-plus create-author-terms-for-posts --batched --records-per-batch=50',
'co-authors-plus create-author-terms-for-posts --records-per-batch=50',
[
'exit_error' => false, // This allows us to capture any errors that occur during script execution.
'launch' => false, // This keeps any formatting that's been set.
Expand Down

0 comments on commit 96307c5

Please sign in to comment.