From 452cc738cbf2abbc079062e7e44dda0b1d27f861 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 11 Jan 2018 14:21:49 -0200 Subject: [PATCH] Fixed number of args passsed to woocommerce_order_item_meta_start Closes #18437 --- templates/checkout/form-pay.php | 2 +- templates/order/order-details-item.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/checkout/form-pay.php b/templates/checkout/form-pay.php index 17ec693cb34..dfa2d38a613 100644 --- a/templates/checkout/form-pay.php +++ b/templates/checkout/form-pay.php @@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) { get_name() ), $item, false ); // @codingStandardsIgnoreLine - do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order ); + do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false ); wc_display_item_meta( $item ); diff --git a/templates/order/order-details-item.php b/templates/order/order-details-item.php index 15dd184d110..7412e9468ca 100644 --- a/templates/order/order-details-item.php +++ b/templates/order/order-details-item.php @@ -34,7 +34,7 @@ if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) { echo apply_filters( 'woocommerce_order_item_name', $product_permalink ? sprintf( '%s', $product_permalink, $item->get_name() ) : $item->get_name(), $item, $is_visible ); echo apply_filters( 'woocommerce_order_item_quantity_html', ' ' . sprintf( '× %s', $item->get_quantity() ) . '', $item ); - do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order ); + do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false ); wc_display_item_meta( $item );