diff --git a/templates/checkout/form-pay.php b/templates/checkout/form-pay.php index 413e1fb8337..015cde208e3 100644 --- a/templates/checkout/form-pay.php +++ b/templates/checkout/form-pay.php @@ -49,7 +49,7 @@ $totals = $order->get_order_item_totals(); // phpcs:ignore WordPress.WP.GlobalVa do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false ); ?> - ' . sprintf( '× %s', esc_html( $item->get_quantity() ) ) . '', $item ); ?> + ' . sprintf( '× %s', esc_html( $item->get_quantity() ) ) . '', $item ); ?> get_formatted_line_subtotal( $item ); ?> diff --git a/templates/checkout/review-order.php b/templates/checkout/review-order.php index 19ed0459434..1df0bea5b09 100644 --- a/templates/checkout/review-order.php +++ b/templates/checkout/review-order.php @@ -36,7 +36,7 @@ defined( 'ABSPATH' ) || exit; get_name(), $cart_item, $cart_item_key ) . ' '; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> - ' . sprintf( '× %s', $cart_item['quantity'] ) . '', $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> + ' . sprintf( '× %s', $cart_item['quantity'] ) . '', $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> diff --git a/templates/order/order-details-item.php b/templates/order/order-details-item.php index e47e1f5f52d..68fb1883adb 100644 --- a/templates/order/order-details-item.php +++ b/templates/order/order-details-item.php @@ -41,7 +41,7 @@ if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) { $qty_display = esc_html( $qty ); } - echo apply_filters( 'woocommerce_order_item_quantity_html', ' ' . sprintf( '× %s', $qty_display ) . '', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + echo apply_filters( 'woocommerce_order_item_quantity_html', ' ' . sprintf( '× %s', $qty_display ) . '', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );