@@ 843-847 (lines=5) @@ | ||
840 | $tax_class_options = array(); |
|
841 | $tax_class_options[''] = __( 'Standard', 'woocommerce' ); |
|
842 | ||
843 | if ( ! empty( $tax_classes ) ) { |
|
844 | foreach ( $tax_classes as $class ) { |
|
845 | $tax_class_options[ sanitize_title( $class ) ] = esc_attr( $class ); |
|
846 | } |
|
847 | } |
|
848 | ||
849 | // Set backorder options |
|
850 | $backorder_options = array( |
|
@@ 2447-2451 (lines=5) @@ | ||
2444 | $tax_class_options = array(); |
|
2445 | $tax_class_options[''] = __( 'Standard', 'woocommerce' ); |
|
2446 | ||
2447 | if ( ! empty( $tax_classes ) ) { |
|
2448 | foreach ( $tax_classes as $class ) { |
|
2449 | $tax_class_options[ sanitize_title( $class ) ] = esc_attr( $class ); |
|
2450 | } |
|
2451 | } |
|
2452 | ||
2453 | // Set backorder options |
|
2454 | $backorder_options = array( |