diff --git a/templates/cart/cart-totals.php b/templates/cart/cart-totals.php
index 2dedfe8e49a..e9602e0314d 100644
--- a/templates/cart/cart-totals.php
+++ b/templates/cart/cart-totals.php
@@ -73,7 +73,7 @@ defined( 'ABSPATH' ) || exit;
}
if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) {
- foreach ( WC()->cart->get_tax_totals() as $code => $tax ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
+ foreach ( WC()->cart->get_tax_totals() as $code => $tax ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
?>
label ) . $estimated_text; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
diff --git a/templates/cart/cross-sells.php b/templates/cart/cross-sells.php
index c541a0c9d98..6972b42f251 100644
--- a/templates/cart/cross-sells.php
+++ b/templates/cart/cross-sells.php
@@ -30,7 +30,7 @@ if ( $cross_sells ) : ?>
get_id() );
- setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited, Squiz.PHP.DisallowMultipleAssignments.Found
+ setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited, Squiz.PHP.DisallowMultipleAssignments.Found
wc_get_template_part( 'content', 'product' );
?>
diff --git a/templates/checkout/form-pay.php b/templates/checkout/form-pay.php
index 015cde208e3..98bb85d6996 100644
--- a/templates/checkout/form-pay.php
+++ b/templates/checkout/form-pay.php
@@ -17,7 +17,7 @@
defined( 'ABSPATH' ) || exit;
-$totals = $order->get_order_item_totals(); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
+$totals = $order->get_order_item_totals(); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
?>