Skip to content

Commit

Permalink
Merge pull request #2336 from rebeccahum/fix_cli_typo
Browse files Browse the repository at this point in the history
CLI: Fix typo in output for words 'stopping' and 'occurring'
  • Loading branch information
brandwaffle authored Sep 14, 2021
2 parents e4194a6 + fa7044e commit 9ca89bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/classes/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ private function index_occurring() {
}

if ( $dashboard_syncing || $wpcli_syncing ) {
WP_CLI::error( esc_html__( 'An index is already occuring. Try again later.', 'elasticpress' ) );
WP_CLI::error( esc_html__( 'An index is already occurring. Try again later.', 'elasticpress' ) );
}
}

Expand All @@ -1336,7 +1336,7 @@ private function reset_transient( $items_indexed, $total_items, $slug ) {
}

/**
* Delete transient that indicates indexing is occuring
* Delete transient that indicates indexing is occurring
*
* @since 3.1
*/
Expand Down Expand Up @@ -1531,7 +1531,7 @@ public function stop_indexing( $args, $assoc_args ) {
if ( empty( \ElasticPress\Utils\get_indexing_status() ) ) {
WP_CLI::warning( esc_html__( 'There is no indexing operation running.', 'elasticpress' ) );
} else {
WP_CLI::line( esc_html__( 'Stoping indexing...', 'elasticpress' ) );
WP_CLI::line( esc_html__( 'Stopping indexing...', 'elasticpress' ) );

if ( isset( $indexing_status['method'] ) && 'cli' === $indexing_status['method'] ) {
set_transient( 'ep_wpcli_sync_interrupted', true, 5 );
Expand Down

0 comments on commit 9ca89bb

Please sign in to comment.