Image Photo Gallery Final Tiles Grid - Version 3.5.4

Version Description

  • 18/01/2022 =
  • Fixed: Sanitized custom CSS and custom script entered by user
Download this release

Release Info

Developer raldea89
Plugin Icon 128x128 Image Photo Gallery Final Tiles Grid
Version 3.5.4
Comparing to
See all releases

Code changes from version 3.5.3 to 3.5.4

Files changed (2) hide show
  1. FinalTilesGalleryLite.php +6 -6
  2. readme.txt +5 -3
FinalTilesGalleryLite.php CHANGED
@@ -3,10 +3,10 @@
3
  /**
4
  * Plugin Name: Final Tiles Grid Gallery - Image Gallery
5
  * Description: Wordpress Plugin for creating responsive image galleries.
6
- * Version: 3.5.3
7
  * Author: WPChill
8
  * Author URI: https://wpchill.com
9
- * Tested up to: 5.8
10
  * Requires: 5.2 or higher
11
  * License: GPLv3 or later
12
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -25,7 +25,7 @@
25
  * Original Author: https://profiles.wordpress.org/greentreealbs/
26
  *
27
  */
28
- define( "FTGVERSION", "3.5.3" );
29
  // Create a helper function for easy SDK access.
30
 
31
  if ( !function_exists( 'ftg_fs' ) ) {
@@ -1244,8 +1244,8 @@ if ( !class_exists( 'FinalTiles_Gallery' ) ) {
1244
  $enlargeImages = $this->checkboxVal( 'ftg_enlargeImages' );
1245
  $wp_field_caption = ( isset( $_POST['ftg_wp_field_caption'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_wp_field_caption'] ) ) : '' );
1246
  $wp_field_title = ( isset( $_POST['ftg_wp_field_title'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_wp_field_title'] ) ) : '' );
1247
- $style = ( isset( $_POST['ftg_style'] ) ? $_POST['ftg_style'] : '' );
1248
- $script = ( isset( $_POST['ftg_script'] ) ? $_POST['ftg_script'] : '' );
1249
  $loadedHSlide = ( isset( $_POST['ftg_loadedHSlide'] ) ? intval( wp_unslash( $_POST['ftg_loadedHSlide'] ) ) : '' );
1250
  $loadedVSlide = ( isset( $_POST['ftg_loadedVSlide'] ) ? intval( wp_unslash( $_POST['ftg_loadedVSlide'] ) ) : '' );
1251
  $captionEffectDuration = ( isset( $_POST['ftg_captionEffectDuration'] ) ? absint( $_POST['ftg_captionEffectDuration'] ) : 250 );
@@ -1347,7 +1347,7 @@ if ( !class_exists( 'FinalTiles_Gallery' ) ) {
1347
  'rel' => ( isset( $_POST['ftg_rel'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_rel'] ) ) : '' ),
1348
  'style' => $style,
1349
  'delay' => ( isset( $_POST['ftg_delay'] ) ? absint( $_POST['ftg_delay'] ) : '' ),
1350
- 'script' => wp_unslash( $script ),
1351
  'support' => $this->checkboxVal( 'ftg_support' ),
1352
  'supportText' => ( isset( $_POST['ftg_supportText'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_supportText'] ) ) : '' ),
1353
  'scrollEffect' => $scrollEffect,
3
  /**
4
  * Plugin Name: Final Tiles Grid Gallery - Image Gallery
5
  * Description: Wordpress Plugin for creating responsive image galleries.
6
+ * Version: 3.5.4
7
  * Author: WPChill
8
  * Author URI: https://wpchill.com
9
+ * Tested up to: 5.9
10
  * Requires: 5.2 or higher
11
  * License: GPLv3 or later
12
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
25
  * Original Author: https://profiles.wordpress.org/greentreealbs/
26
  *
27
  */
28
+ define( "FTGVERSION", "3.5.4" );
29
  // Create a helper function for easy SDK access.
30
 
31
  if ( !function_exists( 'ftg_fs' ) ) {
1244
  $enlargeImages = $this->checkboxVal( 'ftg_enlargeImages' );
1245
  $wp_field_caption = ( isset( $_POST['ftg_wp_field_caption'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_wp_field_caption'] ) ) : '' );
1246
  $wp_field_title = ( isset( $_POST['ftg_wp_field_title'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_wp_field_title'] ) ) : '' );
1247
+ $style = ( isset( $_POST['ftg_style'] ) ? sanitize_textarea_field( wp_unslash( $_POST['ftg_style'] ) ) : '' );
1248
+ $script = ( isset( $_POST['ftg_script'] ) ? sanitize_textarea_field( wp_unslash( $_POST['ftg_script'] ) ) : '' );
1249
  $loadedHSlide = ( isset( $_POST['ftg_loadedHSlide'] ) ? intval( wp_unslash( $_POST['ftg_loadedHSlide'] ) ) : '' );
1250
  $loadedVSlide = ( isset( $_POST['ftg_loadedVSlide'] ) ? intval( wp_unslash( $_POST['ftg_loadedVSlide'] ) ) : '' );
1251
  $captionEffectDuration = ( isset( $_POST['ftg_captionEffectDuration'] ) ? absint( $_POST['ftg_captionEffectDuration'] ) : 250 );
1347
  'rel' => ( isset( $_POST['ftg_rel'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_rel'] ) ) : '' ),
1348
  'style' => $style,
1349
  'delay' => ( isset( $_POST['ftg_delay'] ) ? absint( $_POST['ftg_delay'] ) : '' ),
1350
+ 'script' => $script,
1351
  'support' => $this->checkboxVal( 'ftg_support' ),
1352
  'supportText' => ( isset( $_POST['ftg_supportText'] ) ? sanitize_text_field( wp_unslash( $_POST['ftg_supportText'] ) ) : '' ),
1353
  'scrollEffect' => $scrollEffect,
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpchill, silkalns, freemius
3
  Tags: gallery, grid gallery, best gallery plugin, free gallery, gallery plugin, gallery grid plugin, masonry, photo gallery, image gallery, social gallery, portfolio gallery, lightbox, justified gallery
4
  Requires at least: 5.2
5
- Tested up to: 5.8
6
- Stable tag: 3.5.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -125,10 +125,12 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
125
 
126
  == Changelog ==
127
 
 
 
 
128
  = 3.5.3 - 17/01/2022 =
129
  - Fixed: Security fixes regarding sanitization and escaping
130
 
131
-
132
  = 3.5.2 - 10/01/2022 =
133
  - Removed: Google Plus
134
  - Fixed: Gallery images Would not show
2
  Contributors: wpchill, silkalns, freemius
3
  Tags: gallery, grid gallery, best gallery plugin, free gallery, gallery plugin, gallery grid plugin, masonry, photo gallery, image gallery, social gallery, portfolio gallery, lightbox, justified gallery
4
  Requires at least: 5.2
5
+ Tested up to: 5.9
6
+ Stable tag: 3.5.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
125
 
126
  == Changelog ==
127
 
128
+ = 3.5.4 - 18/01/2022 =
129
+ - Fixed: Sanitized custom CSS and custom script entered by user
130
+
131
  = 3.5.3 - 17/01/2022 =
132
  - Fixed: Security fixes regarding sanitization and escaping
133
 
 
134
  = 3.5.2 - 10/01/2022 =
135
  - Removed: Google Plus
136
  - Fixed: Gallery images Would not show