woocommerce/woocommerce-admin#1830 Fix/1830 move all note php files to subfolder (https://github.com/woocommerce/woocommerce-admin/pull/1879)
* added notes/ folder and moved notes file in it.. * Path changes according to new folder. * typo correct
This commit is contained in:
parent
ecdc9076de
commit
ce6fcdabbe
|
@ -92,8 +92,8 @@ class WC_Admin_Api_Init {
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/data-stores/class-wc-admin-notes-data-store.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/data-stores/class-wc-admin-notes-data-store.php';
|
||||||
|
|
||||||
// CRUD classes.
|
// CRUD classes.
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-note.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-note.php';
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-notes.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-notes.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -156,10 +156,10 @@ function wc_admin_plugins_loaded() {
|
||||||
require_once WC_ADMIN_ABSPATH . '/lib/common.php';
|
require_once WC_ADMIN_ABSPATH . '/lib/common.php';
|
||||||
|
|
||||||
// Admin note providers.
|
// Admin note providers.
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-notes-new-sales-record.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-notes-new-sales-record.php';
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-notes-settings-notes.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-notes-settings-notes.php';
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-notes-woo-subscriptions-notes.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-notes-woo-subscriptions-notes.php';
|
||||||
require_once WC_ADMIN_ABSPATH . '/includes/class-wc-admin-notes-historical-data.php';
|
require_once WC_ADMIN_ABSPATH . '/includes/notes/class-wc-admin-notes-historical-data.php';
|
||||||
|
|
||||||
// Verify we have a proper build.
|
// Verify we have a proper build.
|
||||||
if ( ! wc_admin_build_file_exists() ) {
|
if ( ! wc_admin_build_file_exists() ) {
|
||||||
|
|
Loading…
Reference in New Issue