Move legacy classes to correct dir

This commit is contained in:
Mike Jolley 2017-02-16 16:39:56 +00:00
parent bc751acb57
commit b37e4da43c
6 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
include_once( 'abstract-wc-legacy-order.php' );
include_once( WC_ABSPATH . 'includes/legacy/abstract-wc-legacy-order.php' );
/**
* Abstract Order

View File

@ -1,10 +1,10 @@
<?php
include_once( 'abstract-wc-legacy-payment-token.php' );
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
include_once( WC_ABSPATH . 'includes/legacy/abstract-wc-legacy-payment-token.php' );
/**
* WooCommerce Payment Token.
*

View File

@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Legacy product contains all deprecated methods for this class and can be
* removed in the future.
*/
include_once( 'abstract-wc-legacy-product.php' );
include_once( WC_ABSPATH . 'includes/legacy/abstract-wc-legacy-product.php' );
/**
* Abstract Product Class