Created
March 21, 2019 15:03
-
-
Save timmyc/183927ce64e8979e49a4523c77e0bf17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: printful-shipping.php | |
=================================================================== | |
--- printful-shipping.php (revision 2054638) | |
+++ printful-shipping.php (working copy) | |
@@ -63,7 +63,6 @@ | |
require_once 'includes/class-printful-admin-support.php'; | |
require_once 'includes/class-printful-size-chart-tab.php'; | |
require_once 'includes/class-printful-size-chart-tab.php'; | |
- require_once 'includes/class-printful-rest-api-controller.php'; | |
//launch init | |
Printful_Taxes::init(); | |
@@ -156,6 +155,7 @@ | |
public function register_rest_routes() | |
{ | |
+ require_once 'includes/class-printful-rest-api-controller.php'; | |
$printfulRestAPIController = new Printful_REST_API_Controller(); | |
$printfulRestAPIController->register_routes(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great catch, we've reviewed Woocommerce 3.6.0-rc.1 release and will adjust REST API controller initialization accordingly to support latest Woocommerce plugin version.