Merge pull request #26706 from dorelidan/patch-1
Update wc-template-functions.php
This commit is contained in:
commit
4a8af2ec5d
|
@ -2097,7 +2097,7 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_subtotal' ) ) {
|
|||
* @since 3.7.0
|
||||
*/
|
||||
function woocommerce_widget_shopping_cart_subtotal() {
|
||||
echo '<strong>' . esc_html__( 'Subtotal', 'woocommerce' ) . ':</strong> ' . WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
echo '<strong>' . esc_html__( 'Subtotal:', 'woocommerce' ) . '</strong> ' . WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue