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:
parent
8a94703276
commit
276f3d2ced
|
@ -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' ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue