Slideshow Gallery - Version 1.6.10

Version Description

  • ADD: WordPress 5+ compatibility
Download this release

Release Info

Developer contrid
Plugin Icon 128x128 Slideshow Gallery
Version 1.6.10
Comparing to
See all releases

Code changes from version 1.6.9 to 1.6.10

readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: contrid
3
  Donate link: https://tribulant.com/
4
  Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
5
  Requires at least: 3.1
6
- Tested up to: 4.9.7
7
- Stable tag: 1.6.9
8
 
9
  Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
10
 
@@ -175,6 +175,9 @@ There is an "Images Tester" utility under Slideshow > Settings on the right-hand
175
 
176
  == Changelog ==
177
 
 
 
 
178
  = 1.6.9 =
179
  * ADD: Search box in admin sections to find slides and galleries
180
  * IMPROVE: ALT attributes on slide images
3
  Donate link: https://tribulant.com/
4
  Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
5
  Requires at least: 3.1
6
+ Tested up to: 5.1.1
7
+ Stable tag: 1.6.10
8
 
9
  Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
10
 
175
 
176
  == Changelog ==
177
 
178
+ = 1.6.10 =
179
+ * ADD: WordPress 5+ compatibility
180
+
181
  = 1.6.9 =
182
  * ADD: Search box in admin sections to find slides and galleries
183
  * IMPROVE: ALT attributes on slide images
slideshow-gallery-plugin.php CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) exit; // Exit if accessed directly
4
 
5
  class GalleryPlugin extends GalleryCheckinit {
6
 
7
- var $version = '1.6.9';
8
  var $plugin_name;
9
  var $plugin_base;
10
  var $pre = 'Gallery';
@@ -316,10 +316,10 @@ class GalleryPlugin extends GalleryCheckinit {
316
  $version = "1.5.3";
317
  }
318
 
319
- if (version_compare($cur_version, "1.6.9") < 0) {
320
  $this -> initialize_options();
321
 
322
- $version = "1.6.9";
323
  }
324
 
325
  //the current version is older.
4
 
5
  class GalleryPlugin extends GalleryCheckinit {
6
 
7
+ var $version = '1.6.10';
8
  var $plugin_name;
9
  var $plugin_base;
10
  var $pre = 'Gallery';
316
  $version = "1.5.3";
317
  }
318
 
319
+ if (version_compare($cur_version, "1.6.10") < 0) {
320
  $this -> initialize_options();
321
 
322
+ $version = "1.6.10";
323
  }
324
 
325
  //the current version is older.
slideshow-gallery.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: https://tribulant.com/plugins/view/13/wordpress-slideshow-gallery
6
  Author: Tribulant Software
7
  Author URI: https://tribulant.com
8
  Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. See the <a href="https://tribulant.com/docs/wordpress-slideshow-gallery/1758/wordpress-slideshow-gallery-plugin/" target="_blank">online documentation</a> for instructions on using and embedding slideshow galleries.
9
- Version: 1.6.9
10
  License: GNU General Public License v2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
@@ -151,6 +151,8 @@ if (!class_exists('SlideshowGallery')) {
151
  global $slideshow_javascript, $slideshow_css;
152
  $slideshow_javascript = array();
153
  $slideshow_css = array();
 
 
154
  }
155
 
156
  function wp_footer() {
6
  Author: Tribulant Software
7
  Author URI: https://tribulant.com
8
  Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. See the <a href="https://tribulant.com/docs/wordpress-slideshow-gallery/1758/wordpress-slideshow-gallery-plugin/" target="_blank">online documentation</a> for instructions on using and embedding slideshow galleries.
9
+ Version: 1.6.10
10
  License: GNU General Public License v2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
151
  global $slideshow_javascript, $slideshow_css;
152
  $slideshow_javascript = array();
153
  $slideshow_css = array();
154
+
155
+ $this -> render('head', false, true, 'default');
156
  }
157
 
158
  function wp_footer() {
views/default/head.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ (function($) {
3
+ var $document = $(document);
4
+
5
+ $document.ready(function() {
6
+ if (typeof $.fn.colorbox !== 'undefined') {
7
+ $.extend($.colorbox.settings, {
8
+ current: "<?php echo esc_js(__('Image {current} of {total}', 'slideshow-gallery')); ?>",
9
+ previous: "<?php echo esc_js(__('Previous', 'slideshow-gallery')); ?>",
10
+ next: "<?php echo esc_js(__('Next', 'slideshow-gallery')); ?>",
11
+ close: "<?php echo esc_js(__('Close', 'slideshow-gallery')); ?>",
12
+ xhrError: "<?php echo esc_js(__('This content failed to load', 'slideshow-gallery')); ?>",
13
+ imgError: "<?php echo esc_js(__('This image failed to load', 'slideshow-gallery')); ?>"
14
+ });
15
+ }
16
+ });
17
+ })(jQuery);
18
+ </script>