Skip to content

Commit

Permalink
Merge pull request #3194 from 10up/fix/remove-depreciated-command-fro…
Browse files Browse the repository at this point in the history
…m-message

Remove deprecated command from the error message
  • Loading branch information
felipeelia authored Dec 9, 2022
2 parents 2e427d9 + d303fec commit 9a63375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ public function sync( $args, $assoc_args ) {
}

if ( ! function_exists( 'pcntl_signal' ) ) {
WP_CLI::warning( esc_html__( 'Function pcntl_signal not available. Make sure to run `wp elasticpress clear-index` in case the process is killed.', 'elasticpress' ) );
WP_CLI::warning( esc_html__( 'Function pcntl_signal not available. Make sure to run `wp elasticpress clear-sync` in case the process is killed.', 'elasticpress' ) );
} else {
declare( ticks = 1 );
pcntl_signal( SIGINT, [ $this, 'delete_transient_on_int' ] );
Expand Down

0 comments on commit 9a63375

Please sign in to comment.