Crelly Slider - Version 1.4.3

Version Description

  • Fixed compatibility issue with WordPress 5.5 due to the use of a deprecated jQuery function.
Download this release

Release Info

Developer fabiorino
Plugin Icon 128x128 Crelly Slider
Version 1.4.3
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.3

crellyslider.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Crelly Slider
4
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
5
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
6
- * Version: 1.4.2
7
  * Author: Fabio Rinaldi
8
  * Author URI: https://github.com/fabiorino
9
  * Text Domain: crelly-slider
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
  define('CS_DEBUG', false);
20
 
21
- define('CS_VERSION', '1.4.2');
22
  define('CS_MIN_CAPABILITY', 'manage_options');
23
  define('CS_PATH', plugin_dir_path(__FILE__));
24
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
3
  * Plugin Name: Crelly Slider
4
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
5
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
6
+ * Version: 1.4.3
7
  * Author: Fabio Rinaldi
8
  * Author URI: https://github.com/fabiorino
9
  * Text Domain: crelly-slider
18
 
19
  define('CS_DEBUG', false);
20
 
21
+ define('CS_VERSION', '1.4.3');
22
  define('CS_MIN_CAPABILITY', 'manage_options');
23
  define('CS_PATH', plugin_dir_path(__FILE__));
24
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
css/crellyslider.css CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
- * Version: 1.4.2
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
+ * Version: 1.4.3
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
css/crellyslider.min.css CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
- * Version: 1.4.2
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
+ * Version: 1.4.3
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
js/jquery.crellyslider.js CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
- * Version: 1.4.2
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
+ * Version: 1.4.3
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
js/jquery.crellyslider.min.js CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
- * Version: 1.4.2
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: https://wordpress.org/plugins/crelly-slider/
4
  * Description: A free responsive slider that supports layers. Add texts, images, videos and beautify them with transitions and animations.
5
+ * Version: 1.4.3
6
  * Author: Fabio Rinaldi
7
  * Author URI: https://github.com/fabiorino
8
  * License: MIT
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: fabiorino
3
  Donate link: http://crellyslider.altervista.org/contribute-and-support/
4
  Tags: slider, layers, animations, transitions, texts, images, videos
5
  Requires at least: 4.6
6
- Tested up to: 5.4
7
- Stable tag: 1.4.2
8
  License: MIT
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -54,6 +54,9 @@ You can find the documentation <a href="http://crellyslider.altervista.org/docum
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.4.2 =
58
  * Push required version of WordPress to 4.6.
59
 
3
  Donate link: http://crellyslider.altervista.org/contribute-and-support/
4
  Tags: slider, layers, animations, transitions, texts, images, videos
5
  Requires at least: 4.6
6
+ Tested up to: 5.5
7
+ Stable tag: 1.4.3
8
  License: MIT
9
  License URI: http://opensource.org/licenses/MIT
10
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.4.3 =
58
+ * Fixed compatibility issue with WordPress 5.5 due to the use of a deprecated jQuery function.
59
+
60
  = 1.4.2 =
61
  * Push required version of WordPress to 4.6.
62
 
wordpress/js/admin.js CHANGED
@@ -230,7 +230,7 @@
230
  $('.cs-slide-tabs .cs-sortable li').disableSelection();
231
 
232
  // Show the slide when clicking on the link
233
- $('.cs-admin #cs-slides .cs-slide-tabs > ul > li > a').live('click', function() {
234
  crellyslider_deselectElements();
235
 
236
  // Do only if is not click add new
@@ -306,7 +306,7 @@
306
  }
307
 
308
  // Delete
309
- $('.cs-admin #cs-slides .cs-slide-tabs > ul > li .cs-close').live('click', function() {
310
  if($('.cs-admin #cs-slides .cs-slide-tabs > ul > li').length <= 2) {
311
  alert(crellyslider_translations.slide_delete_just_one);
312
  return;
@@ -349,7 +349,7 @@
349
  });
350
 
351
  // Duplicate
352
- $('.cs-admin #cs-slides .cs-slide-tabs > ul > li .cs-duplicate').live('click', function() {
353
  var slide_index = $(this).parent().index();
354
  var slide = $('.cs-admin #cs-slides .cs-slides-list .cs-slide').eq(slide_index);
355
 
230
  $('.cs-slide-tabs .cs-sortable li').disableSelection();
231
 
232
  // Show the slide when clicking on the link
233
+ $('.cs-admin #cs-slides').on('click', '.cs-slide-tabs > ul > li > a', function() {
234
  crellyslider_deselectElements();
235
 
236
  // Do only if is not click add new
306
  }
307
 
308
  // Delete
309
+ $('.cs-admin #cs-slides').on('click', '.cs-slide-tabs > ul > li .cs-close', function() {
310
  if($('.cs-admin #cs-slides .cs-slide-tabs > ul > li').length <= 2) {
311
  alert(crellyslider_translations.slide_delete_just_one);
312
  return;
349
  });
350
 
351
  // Duplicate
352
+ $('.cs-admin #cs-slides').on('click', '.cs-slide-tabs > ul > li .cs-duplicate', function() {
353
  var slide_index = $(this).parent().index();
354
  var slide = $('.cs-admin #cs-slides .cs-slides-list .cs-slide').eq(slide_index);
355