PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.86
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.86
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 51.1.45 All 40 releases
← All changes | includes/controls/Animations/Animations.php +6 -2 51.1.78 → 51.1.86 View file →
@@ -92,10 +92,14 @@
92 92 public static function get_animation_slugs(): array
93 93 {
94 94 $slugs = ['none'];
95 95
96 - foreach (array_merge(self::$free_animations, self::$pro_animations) as $group) {
97 - $slugs = array_merge($slugs, array_keys($group));
96 + // Do not array_merge the two maps first: they share group keys (Slide, Skew, …),
97 + // so the Pro map would replace the free slugs and drop values such as slide-top.
98 + foreach ([self::$free_animations, self::$pro_animations] as $animations) {
99 + foreach ($animations as $group) {
100 + $slugs = array_merge($slugs, array_keys($group));
101 + }
98 102 }
99 103
100 104 return array_values(array_unique($slugs));
101 105 }