WP Logo Showcase Responsive Slider - Version 2.6

Version Description

(14, Aug 2020) = * [*] jQuery( document ).ready(function($) is replaced with function( $ ) to solve the issue with 3rd party plugin and theme js error.

Download this release

Release Info

Developer wponlinesupport
Plugin Icon 128x128 WP Logo Showcase Responsive Slider
Version 2.6
Comparing to
See all releases

Code changes from version 2.5.6 to 2.6

Files changed (3) hide show
  1. assets/js/wpls-public.js +4 -4
  2. logo-showcase.php +2 -2
  3. readme.txt +3 -0
assets/js/wpls-public.js CHANGED
@@ -1,4 +1,6 @@
1
- jQuery( document ).ready(function($) {
 
 
2
 
3
  // Logo Slider
4
  $( '.wpls-logo-slider' ).each(function( index ) {
@@ -6,8 +8,6 @@ jQuery( document ).ready(function($) {
6
  var slider_id = $(this).attr('id');
7
  var logo_conf = $.parseJSON( $(this).closest('.wpls-logo-showcase-slider-wrp').find('.wpls-logo-showacse-slider-conf').attr('data-conf') );
8
 
9
-
10
- console.log( logo_conf.lazyload );
11
  if( typeof(slider_id) != 'undefined' && slider_id != '' ) {
12
  jQuery('#'+slider_id).slick({
13
  lazyLoad : logo_conf.lazyload,
@@ -52,4 +52,4 @@ jQuery( document ).ready(function($) {
52
  });
53
  }
54
  });
55
- });
1
+ ( function( $ ) {
2
+
3
+ "use strict";
4
 
5
  // Logo Slider
6
  $( '.wpls-logo-slider' ).each(function( index ) {
8
  var slider_id = $(this).attr('id');
9
  var logo_conf = $.parseJSON( $(this).closest('.wpls-logo-showcase-slider-wrp').find('.wpls-logo-showacse-slider-conf').attr('data-conf') );
10
 
 
 
11
  if( typeof(slider_id) != 'undefined' && slider_id != '' ) {
12
  jQuery('#'+slider_id).slick({
13
  lazyLoad : logo_conf.lazyload,
52
  });
53
  }
54
  });
55
+ })( jQuery );
logo-showcase.php CHANGED
@@ -6,7 +6,7 @@
6
  * Author: WP OnlineSupport
7
  * Text Domain: wp-logo-showcase-responsive-slider-slider
8
  * Domain Path: /languages/
9
- * Version: 2.5.6
10
  * Author URI: https://www.wponlinesupport.com/
11
  *
12
  * @package WordPress
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
18
  }
19
 
20
  if( !defined( 'WPLS_VERSION' ) ) {
21
- define( 'WPLS_VERSION', '2.5.6' ); // Version of plugin
22
  }
23
  if( !defined( 'WPLS_DIR' ) ) {
24
  define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
6
  * Author: WP OnlineSupport
7
  * Text Domain: wp-logo-showcase-responsive-slider-slider
8
  * Domain Path: /languages/
9
+ * Version: 2.6
10
  * Author URI: https://www.wponlinesupport.com/
11
  *
12
  * @package WordPress
18
  }
19
 
20
  if( !defined( 'WPLS_VERSION' ) ) {
21
+ define( 'WPLS_VERSION', '2.6' ); // Version of plugin
22
  }
23
  if( !defined( 'WPLS_DIR' ) ) {
24
  define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
readme.txt CHANGED
@@ -158,6 +158,9 @@ Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-de
158
 
159
  == Changelog ==
160
 
 
 
 
161
  = 2.5.6 (14, July 2020) =
162
  * [*] Follow WordPress Detailed Plugin Guidelines for Offload Media and Analytics Code.
163
 
158
 
159
  == Changelog ==
160
 
161
+ = 2.6 (14, Aug 2020) =
162
+ * [*] jQuery( document ).ready(function($) is replaced with function( $ ) to solve the issue with 3rd party plugin and theme js error.
163
+
164
  = 2.5.6 (14, July 2020) =
165
  * [*] Follow WordPress Detailed Plugin Guidelines for Offload Media and Analytics Code.
166