Updated path to background process class.

This commit is contained in:
Peter Fabian 2018-09-17 20:36:29 +02:00
parent bd714210ea
commit 1b71184f23
2 changed files with 5 additions and 1 deletions

View File

@ -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';
}
/**

View File

@ -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
*/