Removed test

This commit is contained in:
Claudio Sanches 2015-10-08 09:40:20 -03:00
parent 1081c2cbe6
commit befda55262
1 changed files with 0 additions and 1 deletions

View File

@ -379,7 +379,6 @@ class WC_API_Taxes extends WC_API_Resource {
*/
public function create_tax_class( $data ) {
try {
error_log( print_r( $data, true ) );
if ( ! isset( $data['tax_class'] ) ) {
throw new WC_API_Exception( 'woocommerce_api_missing_tax_class_data', sprintf( __( 'No %1$s data specified to create %1$s', 'woocommerce' ), 'tax_class' ), 400 );
}