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">
|
<header class="title">
|
||||||
<h3><?php _e( 'Billing Address', 'woocommerce' ); ?></h3>
|
<h3><?php _e( 'Billing Address', 'woocommerce' ); ?></h3>
|
||||||
</header>
|
</header>
|
||||||
<address><p>
|
<address>
|
||||||
<?php
|
<?php
|
||||||
if ( ! $order->get_formatted_billing_address() ) _e( 'N/A', 'woocommerce' ); else echo $order->get_formatted_billing_address();
|
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' ) : ?>
|
<?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">
|
<header class="title">
|
||||||
<h3><?php _e( 'Shipping Address', 'woocommerce' ); ?></h3>
|
<h3><?php _e( 'Shipping Address', 'woocommerce' ); ?></h3>
|
||||||
</header>
|
</header>
|
||||||
<address><p>
|
<address>
|
||||||
<?php
|
<?php
|
||||||
if ( ! $order->get_formatted_shipping_address() ) _e( 'N/A', 'woocommerce' ); else echo $order->get_formatted_shipping_address();
|
if ( ! $order->get_formatted_shipping_address() ) _e( 'N/A', 'woocommerce' ); else echo $order->get_formatted_shipping_address();
|
||||||
?>
|
?>
|
||||||
</p></address>
|
</address>
|
||||||
|
|
||||||
</div><!-- /.col-2 -->
|
</div><!-- /.col-2 -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue