Improve the "Orders out of sync" warning message in COT settings
This commit is contained in:
parent
65b716346d
commit
746d6a99b1
|
@ -338,11 +338,11 @@ class CustomOrdersTableController {
|
|||
}
|
||||
|
||||
if ( $this->data_synchronizer->pending_data_sync_is_in_progress() ) {
|
||||
$text .= __( '<br/>Syncrhonization for these orders is currently in progress.', 'woocommerce' );
|
||||
$text .= __( "<br/>Synchronization for these orders is currently in progress.<br/>The authoritative table can't be changed until sync completes.", 'woocommerce' );
|
||||
} else {
|
||||
$text .= __( "<br/>The authoritative table can't be changed until these orders are synchronized.", 'woocommerce' );
|
||||
}
|
||||
|
||||
$text .= __( "<br/>The authoritative table can't be changed until sync completes.", 'woocommerce' );
|
||||
|
||||
$settings[] = array(
|
||||
'type' => 'info',
|
||||
'id' => 'cot-out-of-sync-warning',
|
||||
|
|
|
@ -283,7 +283,7 @@ WHERE orders.date_updated_gmt != posts.post_modified_gmt";
|
|||
$this->cleanup_synchronization_state();
|
||||
|
||||
/**
|
||||
* Hook to signal that the orders tables synchronization process has finised (nothing left to synchronize).
|
||||
* Hook to signal that the orders tables synchronization process has finished (nothing left to synchronize).
|
||||
*/
|
||||
do_action( self::PENDING_SYNCHRONIZATION_FINISHED_ACTION );
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue