Slideshow Gallery - Version 1.7.4

Version Description

  • FIX: XSS vulnerability issue.
Download this release

Release Info

Developer adamluzsi
Plugin Icon 128x128 Slideshow Gallery
Version 1.7.4
Comparing to
See all releases

Code changes from version 1.7.3 to 1.7.4

Files changed (54) hide show
  1. .gitignore +0 -2
  2. css/colorbox.css +0 -0
  3. css/jquery-ui.css +0 -0
  4. helpers/db.php +7 -0
  5. images/colorbox/border.png +0 -0
  6. images/colorbox/controls.png +0 -0
  7. images/colorbox/ie6/borderBottomCenter.png +0 -0
  8. images/colorbox/ie6/borderBottomLeft.png +0 -0
  9. images/colorbox/ie6/borderBottomRight.png +0 -0
  10. images/colorbox/ie6/borderMiddleLeft.png +0 -0
  11. images/colorbox/ie6/borderMiddleRight.png +0 -0
  12. images/colorbox/ie6/borderTopCenter.png +0 -0
  13. images/colorbox/ie6/borderTopLeft.png +0 -0
  14. images/colorbox/ie6/borderTopRight.png +0 -0
  15. images/colorbox/loading.gif +0 -0
  16. images/colorbox/loading_background.png +0 -0
  17. images/colorbox/overlay.png +0 -0
  18. images/jquery-ui/animated-overlay.gif +0 -0
  19. images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  20. images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  21. images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  22. images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  23. images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  24. images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  25. images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  26. images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  27. images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  28. images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  29. images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  30. images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  31. images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  32. images/logo.png +0 -0
  33. images/plugins/newsletters.png +0 -0
  34. readme.txt +9 -6
  35. select2.css +0 -0
  36. slideshow-gallery-plugin.php +3 -39
  37. slideshow-gallery.php +1 -1
  38. vendors/BFI_Thumb.php +0 -0
  39. vendors/otf_regen_thumbs.php +0 -0
  40. views/admin/metaboxes/settings-about.php +1 -1
  41. views/default/css/colorbox.css +0 -0
  42. views/default/images/colorbox/border.png +0 -0
  43. views/default/images/colorbox/controls.png +0 -0
  44. views/default/images/colorbox/ie6/borderBottomCenter.png +0 -0
  45. views/default/images/colorbox/ie6/borderBottomLeft.png +0 -0
  46. views/default/images/colorbox/ie6/borderBottomRight.png +0 -0
  47. views/default/images/colorbox/ie6/borderMiddleLeft.png +0 -0
  48. views/default/images/colorbox/ie6/borderMiddleRight.png +0 -0
  49. views/default/images/colorbox/ie6/borderTopCenter.png +0 -0
  50. views/default/images/colorbox/ie6/borderTopLeft.png +0 -0
  51. views/default/images/colorbox/ie6/borderTopRight.png +0 -0
  52. views/default/images/colorbox/loading.gif +0 -0
  53. views/default/images/colorbox/loading_background.png +0 -0
  54. views/default/images/colorbox/overlay.png +0 -0
.gitignore DELETED
@@ -1,2 +0,0 @@
1
- # Ignore .vscode folder
2
- .vscode
 
 
css/colorbox.css CHANGED
File without changes
css/jquery-ui.css CHANGED
File without changes
helpers/db.php CHANGED
@@ -166,6 +166,10 @@ class GalleryDbHelper extends GalleryPlugin {
166
 
167
  switch ($this -> model) {
168
  case 'Slide' :
 
 
 
 
169
  if ($this -> language_do()) {
170
  $this -> data -> title = $this -> language_join($this -> data -> title);
171
  $this -> data -> description = $this -> language_join($this -> data -> description);
@@ -173,6 +177,9 @@ class GalleryDbHelper extends GalleryPlugin {
173
  }
174
  break;
175
  case 'Gallery' :
 
 
 
176
  if ($this -> language_do()) {
177
  $this -> data -> title = $this -> language_join($this -> data -> title);
178
  }
166
 
167
  switch ($this -> model) {
168
  case 'Slide' :
169
+
170
+ $this -> data -> title = esc_html($this -> data -> title);
171
+ $this -> data -> description = esc_html($this -> data -> description);
172
+
173
  if ($this -> language_do()) {
174
  $this -> data -> title = $this -> language_join($this -> data -> title);
175
  $this -> data -> description = $this -> language_join($this -> data -> description);
177
  }
178
  break;
179
  case 'Gallery' :
180
+
181
+ $this -> data -> title = esc_html($this -> data -> title);
182
+
183
  if ($this -> language_do()) {
184
  $this -> data -> title = $this -> language_join($this -> data -> title);
185
  }
images/colorbox/border.png CHANGED
File without changes
images/colorbox/controls.png CHANGED
File without changes
images/colorbox/ie6/borderBottomCenter.png CHANGED
File without changes
images/colorbox/ie6/borderBottomLeft.png CHANGED
File without changes
images/colorbox/ie6/borderBottomRight.png CHANGED
File without changes
images/colorbox/ie6/borderMiddleLeft.png CHANGED
File without changes
images/colorbox/ie6/borderMiddleRight.png CHANGED
File without changes
images/colorbox/ie6/borderTopCenter.png CHANGED
File without changes
images/colorbox/ie6/borderTopLeft.png CHANGED
File without changes
images/colorbox/ie6/borderTopRight.png CHANGED
File without changes
images/colorbox/loading.gif CHANGED
File without changes
images/colorbox/loading_background.png CHANGED
File without changes
images/colorbox/overlay.png CHANGED
File without changes
images/jquery-ui/animated-overlay.gif CHANGED
File without changes
images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
images/jquery-ui/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png CHANGED
File without changes
images/jquery-ui/ui-icons_222222_256x240.png CHANGED
File without changes
images/jquery-ui/ui-icons_2e83ff_256x240.png CHANGED
File without changes
images/jquery-ui/ui-icons_454545_256x240.png CHANGED
File without changes
images/jquery-ui/ui-icons_888888_256x240.png CHANGED
File without changes
images/jquery-ui/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
images/logo.png CHANGED
File without changes
images/plugins/newsletters.png CHANGED
File without changes
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: 5.7.2
7
- Stable tag: 1.7.3
8
 
9
  Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
10
 
@@ -175,17 +175,20 @@ There is an "Images Tester" utility under Slideshow > Settings on the right-hand
175
 
176
  == Changelog ==
177
 
 
 
 
178
  = 1.7.3 =
179
- * Removing Update Checker
180
 
181
  = 1.7.2 =
182
- * Removing serial key management for this free version
183
 
184
  = 1.7.1 =
185
  * FIX: Colorbox updates and fixes.
186
 
187
  = 1.7 =
188
- * FIX: Error Handler.
189
  * FIX: Undefined $_SERVER variable indexes, while executing WP Cron.
190
  * PHP Errors and Notices Fixes for current and future versions of PHP.
191
 
@@ -637,4 +640,4 @@ There is an "Images Tester" utility under Slideshow > Settings on the right-hand
637
  * IMPROVED: Directory separator constant DS from DIRECTORY_SEPARATOR.
638
 
639
  = 1.0 =
640
- * Initial release of the WordPress Slideshow Gallery plugin
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.8.1
7
+ Stable tag: 1.7.4
8
 
9
  Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
10
 
175
 
176
  == Changelog ==
177
 
178
+ = 1.7.4 =
179
+ * FIX: XSS vulnerability issue.
180
+
181
  = 1.7.3 =
182
+ * Removed update checker.
183
 
184
  = 1.7.2 =
185
+ * Removed serial key management for this free versión.
186
 
187
  = 1.7.1 =
188
  * FIX: Colorbox updates and fixes.
189
 
190
  = 1.7 =
191
+ * FIX: Error handler.
192
  * FIX: Undefined $_SERVER variable indexes, while executing WP Cron.
193
  * PHP Errors and Notices Fixes for current and future versions of PHP.
194
 
640
  * IMPROVED: Directory separator constant DS from DIRECTORY_SEPARATOR.
641
 
642
  = 1.0 =
643
+ * Initial release of the WordPress Slideshow Gallery plugin
select2.css CHANGED
File without changes
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.7.3';
8
  var $plugin_name;
9
  var $plugin_base;
10
  var $pre = 'Gallery';
@@ -352,48 +352,12 @@ class GalleryPlugin extends GalleryCheckinit {
352
  $version = "1.5.3";
353
  }
354
 
355
- if (version_compare($cur_version, "1.6.15") < 0) {
356
  $this -> initialize_options();
357
 
358
- $version = "1.6.15";
359
  }
360
 
361
- if (version_compare($cur_version, "1.6.16") < 0) {
362
- $this -> initialize_options();
363
-
364
- $version = "1.6.16";
365
- }
366
-
367
- if (version_compare($cur_version, "1.6.17") < 0) {
368
- $this -> initialize_options();
369
-
370
- $version = "1.6.17";
371
- }
372
-
373
- if (version_compare($cur_version, "1.7") < 0) {
374
- $this -> initialize_options();
375
-
376
- $version = "1.7";
377
- }
378
-
379
- if (version_compare($cur_version, "1.7.1") < 0) {
380
- $this -> initialize_options();
381
-
382
- $version = "1.7.1";
383
- }
384
-
385
- if (version_compare($cur_version, "1.7.2") < 0) {
386
- $this -> initialize_options();
387
-
388
- $version = "1.7.2";
389
- }
390
-
391
- if (version_compare($cur_version, "1.7.3") < 0) {
392
- $this -> initialize_options();
393
-
394
- $version = "1.7.3";
395
- }
396
-
397
  //the current version is older.
398
  //lets update the database
399
  $this -> update_option('version', $version);
4
 
5
  class GalleryPlugin extends GalleryCheckinit {
6
 
7
+ var $version = '1.7.4';
8
  var $plugin_name;
9
  var $plugin_base;
10
  var $pre = 'Gallery';
352
  $version = "1.5.3";
353
  }
354
 
355
+ if (version_compare($cur_version, $this->version) < 0) {
356
  $this -> initialize_options();
357
 
358
+ $version = $this->version;
359
  }
360
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
361
  //the current version is older.
362
  //lets update the database
363
  $this -> update_option('version', $version);
slideshow-gallery.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: https://tribulant.com/plugins/view/13/wordpress-slideshow-gallery
6
  Author: Tribulant
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.7.3
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
6
  Author: Tribulant
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.7.4
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
vendors/BFI_Thumb.php CHANGED
File without changes
vendors/otf_regen_thumbs.php CHANGED
File without changes
views/admin/metaboxes/settings-about.php CHANGED
@@ -17,7 +17,7 @@ if (!defined('ABSPATH')) exit; // Exit if accessed directly
17
  <a href="https://www.facebook.com/tribulantsoftware" target="_blank"><?php _e('Find Us on Facebook', 'slideshow-gallery'); ?></a>
18
  </div>
19
  <div class="misc-pub-section misc-pub-section-last">
20
- <a href="https://tribulant.com" target="_blank" style="color:red;"><?php _e('More Amazing Plugins!!!', 'slideshow-gallery'); ?></a>
21
  </div>
22
  </div>
23
  </div>
17
  <a href="https://www.facebook.com/tribulantsoftware" target="_blank"><?php _e('Find Us on Facebook', 'slideshow-gallery'); ?></a>
18
  </div>
19
  <div class="misc-pub-section misc-pub-section-last">
20
+ <a href="https://tribulant.com" target="_blank" style="color:red;"><?php _e('More Amazing Plugins!', 'slideshow-gallery'); ?></a>
21
  </div>
22
  </div>
23
  </div>
views/default/css/colorbox.css CHANGED
File without changes
views/default/images/colorbox/border.png CHANGED
File without changes
views/default/images/colorbox/controls.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderBottomCenter.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderBottomLeft.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderBottomRight.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderMiddleLeft.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderMiddleRight.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderTopCenter.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderTopLeft.png CHANGED
File without changes
views/default/images/colorbox/ie6/borderTopRight.png CHANGED
File without changes
views/default/images/colorbox/loading.gif CHANGED
File without changes
views/default/images/colorbox/loading_background.png CHANGED
File without changes
views/default/images/colorbox/overlay.png CHANGED
File without changes