Shortcodes Ultimate - Version 4.10.1

Version Description

  • Fixed: lightbox javascript
Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 4.10.1
Comparing to
See all releases

Code changes from version 4.10.0 to 4.10.1

assets/js/other-shortcodes.js CHANGED
@@ -56,31 +56,29 @@ jQuery(document).ready(function($) {
56
  anchor_nav();
57
 
58
  // Lightbox
59
- $('.su-lightbox').each(function() {
60
- $(this).on('click', '.su-lightbox', function(e) {
61
- e.preventDefault();
62
- e.stopPropagation();
63
- if ($(this).parent().attr('id') === 'su-generator-preview') $(this).html(su_other_shortcodes.no_preview);
64
- else {
65
- var type = $(this).data('mfp-type');
66
- $(this).magnificPopup({
67
- type: type,
68
- tClose: su_magnific_popup.close,
69
- tLoading: su_magnific_popup.loading,
70
- gallery: {
71
- tPrev: su_magnific_popup.prev,
72
- tNext: su_magnific_popup.next,
73
- tCounter: su_magnific_popup.counter
74
- },
75
- image: {
76
- tError: su_magnific_popup.error
77
- },
78
- ajax: {
79
- tError: su_magnific_popup.error
80
- }
81
- }).magnificPopup('open');
82
- }
83
- });
84
  });
85
  // Tables
86
  $('.su-table tr:even').addClass('su-even');
56
  anchor_nav();
57
 
58
  // Lightbox
59
+ $(document).on('click', '.su-lightbox', function(e) {
60
+ e.preventDefault();
61
+ e.stopPropagation();
62
+ if ($(this).parent().attr('id') === 'su-generator-preview') $(this).html(su_other_shortcodes.no_preview);
63
+ else {
64
+ var type = $(this).data('mfp-type');
65
+ $(this).magnificPopup({
66
+ type: type,
67
+ tClose: su_magnific_popup.close,
68
+ tLoading: su_magnific_popup.loading,
69
+ gallery: {
70
+ tPrev: su_magnific_popup.prev,
71
+ tNext: su_magnific_popup.next,
72
+ tCounter: su_magnific_popup.counter
73
+ },
74
+ image: {
75
+ tError: su_magnific_popup.error
76
+ },
77
+ ajax: {
78
+ tError: su_magnific_popup.error
79
+ }
80
+ }).magnificPopup('open');
81
+ }
 
 
82
  });
83
  // Tables
84
  $('.su-table tr:even').addClass('su-even');
readme.txt CHANGED
@@ -110,6 +110,9 @@ Upgrade normally
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 4.10.0 =
114
  * Fixed: security vulnerability at 'Examples' admin page (insecure call of file_get_contents() at inc/core/tools.php:774)
115
  * Fixed: added access check to permalink shortcode. [Pull request #20](https://github.com/gndev/shortcodes-ultimate/pull/20).
110
 
111
  == Changelog ==
112
 
113
+ = 4.10.1 =
114
+ * Fixed: lightbox javascript
115
+
116
  = 4.10.0 =
117
  * Fixed: security vulnerability at 'Examples' admin page (insecure call of file_get_contents() at inc/core/tools.php:774)
118
  * Fixed: added access check to permalink shortcode. [Pull request #20](https://github.com/gndev/shortcodes-ultimate/pull/20).
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
- Version: 4.10.0
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
@@ -13,7 +13,7 @@
13
 
14
  // Define plugin constants
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
- define( 'SU_PLUGIN_VERSION', '4.10.0' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 4.10.1
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
13
 
14
  // Define plugin constants
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
+ define( 'SU_PLUGIN_VERSION', '4.10.1' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes