diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index 6523d24cc97..52fad46dc83 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -2090,7 +2090,7 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_subtotal' ) ) { * @since 3.7.0 */ function woocommerce_widget_shopping_cart_subtotal() { - echo '' . esc_html( 'Subtotal', 'woocommerce' ) . ': ' . WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + echo '' . esc_html__( 'Subtotal', 'woocommerce' ) . ': ' . WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } }