Fixed number of args passed to woocommerce_order_item_meta

Part of #18437
This commit is contained in:
Claudio Sanches 2018-01-11 14:47:19 -02:00
parent 411dd50ce5
commit cac9e0d872
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ if ( ! defined( 'ABSPATH' ) ) {
wc_display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
?>
</td>
<td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '&times; %s', esc_html( $item->get_quantity() ) ) . '</strong>', $item ); ?></td><?php // @codingStandardsIgnoreLine ?>

View File

@ -38,7 +38,7 @@ if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
wc_display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
?>
</td>