[2.5] Removed extra tab from plain email shipping address, closes #10253

This commit is contained in:
Claudio Sanches 2016-02-03 15:19:15 -02:00
parent 5f2d769567
commit 563a557909
1 changed files with 1 additions and 1 deletions

View File

@ -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() ) ) {
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";
}