Don't attempt to create an inbox note before the tables exist. (https://github.com/woocommerce/woocommerce-admin/pull/3884)

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
This commit is contained in:
Timmy Crawford 2020-03-12 12:59:38 -07:00 committed by GitHub
parent 8a94703276
commit 276f3d2ced
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class ActivityPanels {
add_filter( 'woocommerce_components_settings', array( $this, 'component_settings' ), 20 );
// New settings injection.
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
add_action( 'woocommerce_updated', array( $this, 'woocommerce_updated_note' ) );
add_action( 'woocommerce_admin_updated', array( $this, 'woocommerce_updated_note' ) );
add_action( 'woocommerce_update_product', array( __CLASS__, 'clear_low_out_of_stock_count_transient' ) );
}