Remove <p> from inside <address> in order/order-details.php
This commit is contained in:
parent
7475778d05
commit
a96b958edd
|
@ -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 -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue