From 25efb36719443ab6c389611fa59c71ff465afb78 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 22 Mar 2018 14:08:29 -0600 Subject: [PATCH] Add "false" to Woo order item actions Also add's formatting; Per new Woo template files. --- woocommerce/checkout/form-pay.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/woocommerce/checkout/form-pay.php b/woocommerce/checkout/form-pay.php index 11db3a2..7d74cb9 100644 --- a/woocommerce/checkout/form-pay.php +++ b/woocommerce/checkout/form-pay.php @@ -44,9 +44,11 @@ if ( ! defined( 'ABSPATH' ) ) { get_name() ), $item, false ); // @codingStandardsIgnoreLine - do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order ); - $order->display_item_meta( $item ); - do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order ); + do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false ); + + wc_display_item_meta( $item ); + + do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false ); ?> ' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '', $item ); ?>