Animate It! - Version 2.3.7

Version Description

Download this release

Release Info

Developer eleopard
Plugin Icon 128x128 Animate It!
Version 2.3.7
Comparing to
See all releases

Code changes from version 2.3.4 to 2.3.7

assets/images/corona-plugin-banner.png ADDED
Binary file
edsanimate.php CHANGED
@@ -5,7 +5,7 @@
5
  * Domain Path: /lang
6
  * Plugin URI: http://www.eleopard.in
7
  * Description: Add cool CSS3 animations to your content.
8
- * Version: 2.3.4
9
  * Author: eLEOPARD Design Studios
10
  * Author URI: http://www.eleopard.in
11
  * License: GNU General Public License version 2 or later; see LICENSE.txt
@@ -90,8 +90,10 @@ class EDS_Animate {
90
  add_action( 'wp_ajax_edsanimate_get_popup', array( $tinymce_handler, 'get_popup' ) );
91
 
92
  add_filter('mce_external_languages', array( $tinymce_handler, 'add_locale') );
93
-
94
-
 
 
95
  }
96
 
97
  function plugin_textdomain() {
@@ -186,19 +188,25 @@ class EDS_Animate {
186
 
187
  function update_edsanimate_options(){
188
  $ok= false;
189
- if(isset($_REQUEST['eds_scroll_offset'])
190
- && isset($_REQUEST['eds_enable_on_phone'])
191
- && isset($_REQUEST['eds_enable_on_tab'])){
192
- update_option('eds_scroll_offset', $_REQUEST['eds_scroll_offset']);
193
- update_option('eds_enable_on_phone', $_REQUEST['eds_enable_on_phone']);
194
- update_option('eds_hide_overflow_x', $_REQUEST['eds_hide_overflow_x']);
195
- update_option('eds_hide_overflow_y', $_REQUEST['eds_hide_overflow_y']);
196
- update_option('eds_enable_on_tab', $_REQUEST['eds_enable_on_tab']);
197
- $ok=true;
198
- }
199
- $custom_css = sanitize_textarea_field(isset($_REQUEST['eds_custom_css'])?$_REQUEST['eds_custom_css']:'');
200
- update_option('eds_custom_css', $custom_css);
201
- file_put_contents( plugin_dir_path( self::$abs_file ) . "assets/css/custom.css", $custom_css);
 
 
 
 
 
 
202
 
203
  if($ok){?>
204
  <div id="message" class="updated fade">
@@ -220,7 +228,12 @@ class EDS_Animate {
220
  style="display: inline-block; margin-top: 10px; padding-top: 4px;">
221
  <img src="<?php echo plugins_url( '/assets/images/banner.jpg', self::$abs_file )?>" />
222
  </a>
 
 
 
 
223
  <form method="post">
 
224
  <table cellspacing="10" cellpadding="10">
225
  <tr>
226
  <td style="vertical-align: top;">
@@ -537,6 +550,13 @@ class EDS_Animate {
537
  }
538
  return $params;
539
  }
 
 
 
 
 
 
 
540
  }
541
 
542
  if( !defined( 'WPINC' ) ) {
5
  * Domain Path: /lang
6
  * Plugin URI: http://www.eleopard.in
7
  * Description: Add cool CSS3 animations to your content.
8
+ * Version: 2.3.7
9
  * Author: eLEOPARD Design Studios
10
  * Author URI: http://www.eleopard.in
11
  * License: GNU General Public License version 2 or later; see LICENSE.txt
90
  add_action( 'wp_ajax_edsanimate_get_popup', array( $tinymce_handler, 'get_popup' ) );
91
 
92
  add_filter('mce_external_languages', array( $tinymce_handler, 'add_locale') );
93
+
94
+ // Hook to add settings page link of plugin in plugin list page.
95
+ add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'add_plugin_page_settings_link' ) );
96
+
97
  }
98
 
99
  function plugin_textdomain() {
188
 
189
  function update_edsanimate_options(){
190
  $ok= false;
191
+
192
+ //verifying nonces
193
+ check_admin_referer( 'eds_animateit_options' );
194
+
195
+ if( current_user_can( 'manage_options' ) ) {
196
+ if(isset($_REQUEST['eds_scroll_offset'])
197
+ && isset($_REQUEST['eds_enable_on_phone'])
198
+ && isset($_REQUEST['eds_enable_on_tab'])){
199
+ update_option('eds_scroll_offset', $_REQUEST['eds_scroll_offset']);
200
+ update_option('eds_enable_on_phone', $_REQUEST['eds_enable_on_phone']);
201
+ update_option('eds_hide_overflow_x', $_REQUEST['eds_hide_overflow_x']);
202
+ update_option('eds_hide_overflow_y', $_REQUEST['eds_hide_overflow_y']);
203
+ update_option('eds_enable_on_tab', $_REQUEST['eds_enable_on_tab']);
204
+ $ok=true;
205
+ }
206
+ $custom_css = sanitize_textarea_field(isset($_REQUEST['eds_custom_css'])?$_REQUEST['eds_custom_css']:'');
207
+ update_option('eds_custom_css', $custom_css);
208
+ file_put_contents( plugin_dir_path( self::$abs_file ) . "assets/css/custom.css", $custom_css);
209
+ }
210
 
211
  if($ok){?>
212
  <div id="message" class="updated fade">
228
  style="display: inline-block; margin-top: 10px; padding-top: 4px;">
229
  <img src="<?php echo plugins_url( '/assets/images/banner.jpg', self::$abs_file )?>" />
230
  </a>
231
+ <a href="https://wordpress.org/plugins/corona-awareness-popup/" target="_blank"
232
+ style="display: inline-block; margin-top: 10px; padding-top: 4px;">
233
+ <img src="<?php echo plugins_url( '/assets/images/corona-plugin-banner.png', self::$abs_file )?>" />
234
+ </a>
235
  <form method="post">
236
+ <?php wp_nonce_field( 'eds_animateit_options' ); ?>
237
  <table cellspacing="10" cellpadding="10">
238
  <tr>
239
  <td style="vertical-align: top;">
550
  }
551
  return $params;
552
  }
553
+
554
+ function add_plugin_page_settings_link( $links ) {
555
+ $links[] = '<a href="' .
556
+ admin_url( 'options-general.php?page=' . self::$abs_file ) . '">' .
557
+ __('Settings', 'eds-animate' ) . '</a>';
558
+ return $links;
559
+ }
560
  }
561
 
562
  if( !defined( 'WPINC' ) ) {
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.2.1
6
- Stable tag: 2.3.4
7
  License: GNU General Public License version 2 or later
8
  License URI: http://www.gnu.org/copyleft/gpl.html
9
 
@@ -14,7 +14,7 @@ Add cool CSS3 animations to your content.
14
 
15
  [Demo](http://downloads.eleopard.in/animate-it-demo-wordpress/ "Demo") | [Documentation](http://downloads.eleopard.in/animate-it-documentation-wordpress/ "Documentation") | [Class Generator](http://downloads.eleopard.in/class-generator-wordpress/ "Class Generator")
16
 
17
- [youtube https://www.youtube.com/watch?v=Np_t43pfrh4]
18
 
19
  Some of the Key features Include:
20
 
@@ -82,6 +82,16 @@ Add duration class ( duration1 to duration20 ) along with the other classes. or
82
 
83
  == Changelog ==
84
 
 
 
 
 
 
 
 
 
 
 
85
  = Version 2.3.4 =
86
  * Security fixes for XSS related vulnerability.
87
 
2
  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.3.2
6
+ Stable tag: 2.3.7
7
  License: GNU General Public License version 2 or later
8
  License URI: http://www.gnu.org/copyleft/gpl.html
9
 
14
 
15
  [Demo](http://downloads.eleopard.in/animate-it-demo-wordpress/ "Demo") | [Documentation](http://downloads.eleopard.in/animate-it-documentation-wordpress/ "Documentation") | [Class Generator](http://downloads.eleopard.in/class-generator-wordpress/ "Class Generator")
16
 
17
+ [youtube https://youtu.be/JKRn6NUM-i4]
18
 
19
  Some of the Key features Include:
20
 
82
 
83
  == Changelog ==
84
 
85
+ = Version 2.3.7 =
86
+ * Added link to Settings page in Plugin list page.
87
+ * Settings page updated
88
+
89
+ = Version 2.3.6 =
90
+ * Security related fixes.
91
+
92
+ = Version 2.3.5 =
93
+ * Security fixes for XSS related vulnerability.
94
+
95
  = Version 2.3.4 =
96
  * Security fixes for XSS related vulnerability.
97