PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.87
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.87
51.1.87 51.1.86 51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 All 41 releases
← All changes | includes/widgets/Timeline/Timeline.php +10 -10 51.1.35 → 51.1.87 View file →
@@ -1329,9 +1329,9 @@
1329 1329 'repeater_icon_timeline_background_fill_color' => '#FFFFFF',
1330 1330 'repeater_icon_border_color' => '#E8E8E8'
1331 1331 ],
1332 1332 ],
1333 - 'title_field' => '{{{ repeater_story_title }}}',
1333 + 'title_field' => '{{ repeater_story_title }}',
1334 1334 ]
1335 1335 );
1336 1336
1337 1337 if (!king_addons_freemius()->can_use_premium_code__premium_only()) {
@@ -5207,18 +5207,18 @@
5207 5207 }
5208 5208
5209 5209 public function get_animation_class($data, $object)
5210 5210 {
5211 - $class = '';
5212 - $anim = $data[$object . '_animation'] ?? 'none';
5211 + $animation = Grid_Ajax_Security::sanitize_animation($data[$object . '_animation'] ?? 'none');
5212 + if ('none' === $animation) {
5213 + return '';
5214 + }
5213 5215
5214 - if ('none' !== $anim) {
5215 - $class .= ' king-addons-' . $object . '-' . $anim;
5216 - $class .= ' king-addons-anim-size-' . $data[$object . '_animation_size'];
5217 - $class .= ' king-addons-animation-timing-' . $data[$object . '_animation_timing'];
5218 - if ('yes' === $data[$object . '_animation_tr']) {
5219 - $class .= ' king-addons-anim-transparency';
5220 - }
5216 + $class = ' king-addons-' . sanitize_html_class((string) $object) . '-' . $animation;
5217 + $class .= ' king-addons-anim-size-' . Grid_Ajax_Security::sanitize_animation_size($data[$object . '_animation_size'] ?? 'large');
5218 + $class .= ' king-addons-animation-timing-' . Grid_Ajax_Security::sanitize_animation_timing($data[$object . '_animation_timing'] ?? 'ease-default');
5219 + if ('yes' === Grid_Ajax_Security::sanitize_yes_no_switcher($data[$object . '_animation_tr'] ?? '')) {
5220 + $class .= ' king-addons-anim-transparency';
5221 5221 }
5222 5222 return $class;
5223 5223 }
5224 5224