Version Description
- Fixed: lightbox javascript
Download this release
Release Info
| Developer | gn_themes |
| Plugin | |
| 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 +23 -25
- readme.txt +3 -0
- shortcodes-ultimate.php +2 -2
assets/js/other-shortcodes.js
CHANGED
|
@@ -56,31 +56,29 @@ jQuery(document).ready(function($) {
|
|
| 56 |
anchor_nav();
|
| 57 |
|
| 58 |
// Lightbox
|
| 59 |
-
$('.su-lightbox'
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 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.
|
| 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.
|
| 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
|
