includes tax wrapping <small> consistient across order and cart table

This commit is contained in:
Maciej Kuś 2016-12-22 13:56:29 +01:00
parent 241c8ce13b
commit 53c7c4025f
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class WC_Order extends WC_Abstract_Order {
$tax_string_array[] = sprintf( '%s %s', wc_price( $tax_amount, array( 'currency' => $this->get_currency() ) ), WC()->countries->tax_or_vat() );
}
if ( ! empty( $tax_string_array ) ) {
$tax_string = ' ' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
$tax_string = '<small class="includes_tax">' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) ) . '</small>';
}
}