| @@ -13,19 +13,23 @@ | ||
| 13 | 13 | if ( !isset($property->id) ) { |
| 14 | 14 | return; |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | +// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope. | |
| 17 | 18 | $attributes = array(); |
| 18 | 19 | if ( isset($atts['height']) && $atts['height'] != '' ) |
| 19 | 20 | { |
| 21 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope. | |
| 20 | 22 | $attributes['height'] = $atts['height']; |
| 21 | 23 | } |
| 22 | 24 | if ( isset($atts['zoom']) && isset($atts['zoom']['size']) && $atts['zoom']['size'] != '' ) |
| 23 | 25 | { |
| 26 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope. | |
| 24 | 27 | $attributes['zoom'] = $atts['zoom']['size']; |
| 25 | 28 | } |
| 26 | 29 | if ( isset($atts['scrollwheel']) && $atts['scrollwheel'] != '' ) |
| 27 | 30 | { |
| 31 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope. | |
| 28 | 32 | $attributes['scrollwheel'] = $atts['scrollwheel']; |
| 29 | 33 | } |
| 30 | 34 | |
| 31 | 35 | get_property_map($attributes); |