Merge pull request #24206 from JAD3N/patch-1

Fix Missing Translation for Subtotal
This commit is contained in:
Rodrigo Primo 2019-07-19 11:19:48 -03:00 committed by GitHub
commit 17e5622905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2090,7 +2090,7 @@ if ( ! function_exists( 'woocommerce_widget_shopping_cart_subtotal' ) ) {
* @since 3.7.0 * @since 3.7.0
*/ */
function woocommerce_widget_shopping_cart_subtotal() { 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
} }
} }