Updated path to background process class.
This commit is contained in:
parent
bd714210ea
commit
1b71184f23
|
@ -8,7 +8,7 @@
|
|||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
if ( ! class_exists( 'WC_Admin_Order_Stats_Background_Process', false ) ) {
|
||||
include_once WC_ABSPATH . 'includes/class-wc-admin-order-stats-background-process.php';
|
||||
include_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-order-stats-background-process.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,6 +16,10 @@ if ( ! defined( 'WC_ADMIN_APP' ) ) {
|
|||
define( 'WC_ADMIN_APP', 'wc-admin-app' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'WC_ADMIN_ABSPATH' ) ) {
|
||||
define( 'WC_ADMIN_ABSPATH', dirname( __FILE__ ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Notify users of the plugin requirements
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue