Image Photo Gallery Final Tiles Grid - Version 3.3.18

Version Description

  • [Fix] Fixed issue with iconv function
Download this release

Release Info

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

Code changes from version 3.3.17 to 3.3.18

FinalTilesGalleryLite.php CHANGED
@@ -5,15 +5,17 @@
5
  * Plugin URI: https://www.final-tiles-gallery.com
6
  * Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
7
  * Author: Green Tree Labs
8
- * Version: 3.3.17
9
  * Author URI: https://www.greentreelabs.net
10
  *
11
  * @fs_premium_only /lightbox-pro/
12
  *
13
  */
14
- define( 'FTGVERSION', '3.3.17' );
15
  /*
16
  Changelog:
 
 
17
  3.3.17
18
  Fixed issues in admin panel
19
  3.3.16
@@ -1439,7 +1441,9 @@ if ( !class_exists( 'FinalTiles_Gallery' ) ) {
1439
  {
1440
  $text = preg_replace( '~[^\\pL\\d]+~u', '-', $text );
1441
  $text = trim( $text, '-' );
1442
- $text = iconv( 'utf-8', 'us-ascii//TRANSLIT', $text );
 
 
1443
  $text = strtolower( $text );
1444
  $text = preg_replace( '~[^-\\w]+~', '', $text );
1445
  if ( empty($text) ) {
5
  * Plugin URI: https://www.final-tiles-gallery.com
6
  * Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
7
  * Author: Green Tree Labs
8
+ * Version: 3.3.18
9
  * Author URI: https://www.greentreelabs.net
10
  *
11
  * @fs_premium_only /lightbox-pro/
12
  *
13
  */
14
+ define( 'FTGVERSION', '3.3.18' );
15
  /*
16
  Changelog:
17
+ 3.3.18
18
+ Fixed issue with iconv function
19
  3.3.17
20
  Fixed issues in admin panel
21
  3.3.16
1441
  {
1442
  $text = preg_replace( '~[^\\pL\\d]+~u', '-', $text );
1443
  $text = trim( $text, '-' );
1444
+ if ( function_exists( 'iconv' ) ) {
1445
+ $text = iconv( 'utf-8', 'us-ascii//TRANSLIT', $text );
1446
+ }
1447
  $text = strtolower( $text );
1448
  $text = preg_replace( '~[^-\\w]+~', '', $text );
1449
  if ( empty($text) ) {
lib/gallery-class.php CHANGED
@@ -232,7 +232,9 @@ if (!class_exists("FinalTilesGallery"))
232
  {
233
  $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
234
  $text = trim($text, '-');
235
- $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
 
 
236
  $text = strtolower($text);
237
  $text = preg_replace('~[^-\w]+~', '', $text);
238
 
232
  {
233
  $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
234
  $text = trim($text, '-');
235
+
236
+ if(function_exists("iconv"))
237
+ $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
238
  $text = strtolower($text);
239
  $text = preg_replace('~[^-\w]+~', '', $text);
240
 
readme.txt CHANGED
@@ -135,6 +135,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
135
 
136
  == Changelog ==
137
 
 
 
 
138
  = 3.3.17 =
139
  * [Fix] Fixed issues in admin panel
140
 
135
 
136
  == Changelog ==
137
 
138
+ = 3.3.18 =
139
+ * [Fix] Fixed issue with iconv function
140
+
141
  = 3.3.17 =
142
  * [Fix] Fixed issues in admin panel
143