Merge pull request #20886 from woocommerce/fix/20871

Re-add woocommerce_order_details_after_customer_details_filter
This commit is contained in:
Claudiu Lodromanean 2018-07-25 08:39:43 -07:00 committed by GitHub
commit b76667796a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -10,10 +10,9 @@
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 3.3.0
* @version 3.4.4
*/
if ( ! defined( 'ABSPATH' ) ) {
@ -30,7 +29,7 @@ $show_shipping = ! wc_ship_to_billing_address_only() && $order->needs_shipping_a
<?php endif; ?>
<h2 class="woocommerce-column__title"><?php _e( 'Billing address', 'woocommerce' ); ?></h2>
<h2 class="woocommerce-column__title"><?php esc_html_e( 'Billing address', 'woocommerce' ); ?></h2>
<address>
<?php echo wp_kses_post( $order->get_formatted_billing_address( __( 'N/A', 'woocommerce' ) ) ); ?>
@ -49,7 +48,7 @@ $show_shipping = ! wc_ship_to_billing_address_only() && $order->needs_shipping_a
</div><!-- /.col-1 -->
<div class="woocommerce-column woocommerce-column--2 woocommerce-column--shipping-address col-2">
<h2 class="woocommerce-column__title"><?php _e( 'Shipping address', 'woocommerce' ); ?></h2>
<h2 class="woocommerce-column__title"><?php esc_html_e( 'Shipping address', 'woocommerce' ); ?></h2>
<address>
<?php echo wp_kses_post( $order->get_formatted_shipping_address( __( 'N/A', 'woocommerce' ) ) ); ?>
</address>
@ -59,4 +58,6 @@ $show_shipping = ! wc_ship_to_billing_address_only() && $order->needs_shipping_a
<?php endif; ?>
<?php do_action( 'woocommerce_order_details_after_customer_details', $order ); ?>
</section>