Create database tables earlier - like core. (https://github.com/woocommerce/woocommerce-admin/pull/3899)
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
This commit is contained in:
parent
43d5214218
commit
7266042b79
|
@ -62,7 +62,7 @@ class Install {
|
|||
* Hook in tabs.
|
||||
*/
|
||||
public static function init() {
|
||||
add_action( 'admin_init', array( __CLASS__, 'check_version' ), 5 );
|
||||
add_action( 'init', array( __CLASS__, 'check_version' ), 5 );
|
||||
add_filter( 'wpmu_drop_tables', array( __CLASS__, 'wpmu_drop_tables' ) );
|
||||
|
||||
// Add wc-admin report tables to list of WooCommerce tables.
|
||||
|
|
Loading…
Reference in New Issue