Version Description
Download this release
Release Info
Developer | eleopard |
Plugin | Animate It! |
Version | 2.3.9 |
Comparing to | |
See all releases |
Code changes from version 2.3.8 to 2.3.9
- edsanimate.php +6 -3
- readme.txt +4 -1
edsanimate.php
CHANGED
@@ -411,13 +411,15 @@ class EDS_Animate {
|
|
411 |
|
412 |
|
413 |
$classString = "animated";
|
|
|
|
|
414 |
|
415 |
if($animation == '')
|
416 |
{
|
417 |
return do_shortcode($content);
|
418 |
}
|
419 |
|
420 |
-
$classString .= " " .
|
421 |
|
422 |
if(strcasecmp($infinite_animation, 'yes')==0) {
|
423 |
$classString .= " infinite";
|
@@ -445,9 +447,9 @@ class EDS_Animate {
|
|
445 |
|
446 |
|
447 |
if(isset($scroll_offset) && $scroll_offset!=''){
|
448 |
-
return '<div class="'
|
449 |
}else {
|
450 |
-
return '<div class="'
|
451 |
}
|
452 |
|
453 |
else:
|
@@ -475,6 +477,7 @@ class EDS_Animate {
|
|
475 |
}
|
476 |
|
477 |
$attributes = array_map( 'sanitize_text_field', $attributes );
|
|
|
478 |
|
479 |
$hide_on_load_css_class = '';
|
480 |
$entry_animation = isset( $attributes['entry_animation_type'] ) ? $attributes['entry_animation_type']: '';
|
411 |
|
412 |
|
413 |
$classString = "animated";
|
414 |
+
|
415 |
+
$animation = sanitize_text_field( $animation );
|
416 |
|
417 |
if($animation == '')
|
418 |
{
|
419 |
return do_shortcode($content);
|
420 |
}
|
421 |
|
422 |
+
$classString .= " " . $animation;
|
423 |
|
424 |
if(strcasecmp($infinite_animation, 'yes')==0) {
|
425 |
$classString .= " infinite";
|
447 |
|
448 |
|
449 |
if(isset($scroll_offset) && $scroll_offset!=''){
|
450 |
+
return '<div class="'. esc_attr($classString) .'" eds_scroll_offset="'. esc_attr(sanitize_text_field( $scroll_offset )) .'">'.do_shortcode($content).'</div>';
|
451 |
}else {
|
452 |
+
return '<div class="'. esc_attr($classString) .'">'.do_shortcode($content).'</div>';
|
453 |
}
|
454 |
|
455 |
else:
|
477 |
}
|
478 |
|
479 |
$attributes = array_map( 'sanitize_text_field', $attributes );
|
480 |
+
$attributes = array_map( 'esc_attr', $attributes );
|
481 |
|
482 |
$hide_on_load_css_class = '';
|
483 |
$entry_animation = isset( $attributes['entry_animation_type'] ) ? $attributes['entry_animation_type']: '';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: eleopard
|
|
3 |
Tags: css3 animation, animate.css, jquery, on scroll animation, delay, infinite, entry exit, iteration
|
4 |
Requires at least: 4.7.0
|
5 |
Tested up to: 5.9.2
|
6 |
-
Stable tag: 2.3.
|
7 |
License: GNU General Public License version 2 or later
|
8 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
9 |
|
@@ -82,6 +82,9 @@ Add duration class ( duration1 to duration20 ) along with the other classes. or
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
85 |
= Version 2.3.8 =
|
86 |
* Security Fixes
|
87 |
|
3 |
Tags: css3 animation, animate.css, jquery, on scroll animation, delay, infinite, entry exit, iteration
|
4 |
Requires at least: 4.7.0
|
5 |
Tested up to: 5.9.2
|
6 |
+
Stable tag: 2.3.9
|
7 |
License: GNU General Public License version 2 or later
|
8 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
9 |
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
+
= Version 2.3.9 =
|
86 |
+
* Security Fixes
|
87 |
+
|
88 |
= Version 2.3.8 =
|
89 |
* Security Fixes
|
90 |
|