← All changes
|
includes/elementor/modules/product-quantity/widgets/product-quantity.php
+1
-1
1.2.2
→
2.7.0
View file →
| @@ -136,9 +136,9 @@ | ||
| 136 | 136 | $this->end_controls_section(); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | protected function render() { |
| 140 | - global $product; | |
| 140 | + global $product; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WooCommerce template pattern. | |
| 141 | 141 | |
| 142 | 142 | $product = $this->get_product_object(); |
| 143 | 143 | |
| 144 | 144 | if ( empty( $product ) ) { |