Enabled product bundles
This commit is contained in:
4
backend/wordpress/wp-content/plugins/woocommerce/includes/class-wc-auth.php
Normal file → Executable file
4
backend/wordpress/wp-content/plugins/woocommerce/includes/class-wc-auth.php
Normal file → Executable file
@@ -318,10 +318,6 @@ class WC_Auth {
|
||||
$consumer_data = array();
|
||||
|
||||
try {
|
||||
if ( 'yes' !== get_option( 'woocommerce_api_enabled' ) ) {
|
||||
throw new Exception( __( 'API disabled!', 'woocommerce' ) );
|
||||
}
|
||||
|
||||
$route = strtolower( wc_clean( $route ) );
|
||||
$this->make_validation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user