[2.5] Removed extra tab from plain email shipping address, closes #10253
This commit is contained in:
parent
5f2d769567
commit
563a557909
|
@ -24,5 +24,5 @@ echo preg_replace( '#<br\s*/?>#i', "\n", $order->get_formatted_billing_address()
|
||||||
|
|
||||||
if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) {
|
if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) {
|
||||||
echo "\n" . strtoupper( __( 'Shipping address', 'woocommerce' ) ) . "\n\n";
|
echo "\n" . strtoupper( __( 'Shipping address', 'woocommerce' ) ) . "\n\n";
|
||||||
echo preg_replace( '#<br\s*/?>#i', "\n\t", $shipping ) . "\n";
|
echo preg_replace( '#<br\s*/?>#i', "\n", $shipping ) . "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue