| @@ -304,8 +304,13 @@ | ||
| 304 | 304 | ), |
| 305 | 305 | $atts |
| 306 | 306 | ); |
| 307 | 307 | |
| 308 | + $atts['id'] = (int) $atts['id']; | |
| 309 | + $atts['class'] = esc_attr( $atts['class'] ); | |
| 310 | + $atts['lazy'] = esc_attr( $atts['lazy'] ); | |
| 311 | + $atts['use_image'] = esc_attr( $atts['use_image'] ); | |
| 312 | + | |
| 308 | 313 | global $sitepress; |
| 309 | 314 | if ( Visualizer_Module::is_pro() && ( function_exists( 'icl_get_languages' ) && $sitepress instanceof \SitePress ) ) { |
| 310 | 315 | global $sitepress; |
| 311 | 316 | $locale = icl_get_current_language(); |