Remove <p> from inside <address> in order/order-details.php

This commit is contained in:
Michael Silber 2014-08-05 18:18:07 -04:00
parent 7475778d05
commit a96b958edd
1 changed files with 4 additions and 4 deletions

View File

@ -117,11 +117,11 @@ $order = get_order( $order_id );
<header class="title">
<h3><?php _e( 'Billing Address', 'woocommerce' ); ?></h3>
</header>
<address><p>
<address>
<?php
if ( ! $order->get_formatted_billing_address() ) _e( 'N/A', 'woocommerce' ); else echo $order->get_formatted_billing_address();
?>
</p></address>
</address>
<?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && get_option( 'woocommerce_calc_shipping' ) !== 'no' ) : ?>
@ -132,11 +132,11 @@ $order = get_order( $order_id );
<header class="title">
<h3><?php _e( 'Shipping Address', 'woocommerce' ); ?></h3>
</header>
<address><p>
<address>
<?php
if ( ! $order->get_formatted_shipping_address() ) _e( 'N/A', 'woocommerce' ); else echo $order->get_formatted_shipping_address();
?>
</p></address>
</address>
</div><!-- /.col-2 -->