FancyBox for WordPress - Version 3.1.4

Version Description

  • Made it work with query string and without query strings.
Download this release

Release Info

Developer colorlibplugins
Plugin Icon wp plugin FancyBox for WordPress
Version 3.1.4
Comparing to
See all releases

Code changes from version 3.1.3 to 3.1.4

Files changed (2) hide show
  1. fancybox.php +3 -3
  2. readme.txt +4 -1
fancybox.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: FancyBox for WordPress
5
  Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
6
  Description: Integrates <a href="http://fancyapps.com/fancybox/3/">FancyBox 3</a> into WordPress.
7
- Version: 3.1.3
8
  Author: Colorlib
9
  Author URI: https://colorlib.com/wp/
10
 
@@ -19,7 +19,7 @@ Author URI: https://colorlib.com/wp/
19
  * Plugin Init
20
  */
21
  // Constants
22
- define( 'FBFW_VERSION', '3.1.3' );
23
  define( 'FBFW_PATH', plugin_dir_path( __FILE__ ) );
24
  define( 'FBFW_URL', plugin_dir_url( __FILE__ ) );
25
  define( 'FBFW_PLUGIN_BASE', plugin_basename( __FILE__ ) );
@@ -275,7 +275,7 @@ function mfbfw_init() {
275
  }
276
 
277
  // Supported file extensions
278
- var thumbnails = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp|pdf)\?.+$/i.test(jQuery(this).attr('href')) });
279
  <?php if ( $mfbfw['galleryType'] == 'post' ) { ?>
280
 
281
  // Gallery type BY POST and on post or page (so only one post or page is visible)
4
  Plugin Name: FancyBox for WordPress
5
  Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
6
  Description: Integrates <a href="http://fancyapps.com/fancybox/3/">FancyBox 3</a> into WordPress.
7
+ Version: 3.1.4
8
  Author: Colorlib
9
  Author URI: https://colorlib.com/wp/
10
 
19
  * Plugin Init
20
  */
21
  // Constants
22
+ define( 'FBFW_VERSION', '3.1.4' );
23
  define( 'FBFW_PATH', plugin_dir_path( __FILE__ ) );
24
  define( 'FBFW_URL', plugin_dir_url( __FILE__ ) );
25
  define( 'FBFW_PLUGIN_BASE', plugin_basename( __FILE__ ) );
275
  }
276
 
277
  // Supported file extensions
278
+ var thumbnails = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp|pdf)(\?[^/]*)*$/i.test(jQuery(this).attr('href')) });
279
  <?php if ( $mfbfw['galleryType'] == 'post' ) { ?>
280
 
281
  // Gallery type BY POST and on post or page (so only one post or page is visible)
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: silkalns
3
  Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures, zoom
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
- Stable tag: 3.1.3
7
  License: GPL/MIT
8
 
9
  Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.
@@ -31,6 +31,9 @@ If you enjoy using FancyBox lightbox for WordPress please leave a [positive feed
31
 
32
  == Changelog ==
33
 
 
 
 
34
  = 3.1.3 =
35
  * Fixed "Parse error" - https://wordpress.org/support/topic/no-backend-after-fancybox-update/
36
  * Fixed "Breaks on query strings" - https://wordpress.org/support/topic/url-with-ssl1-fancybox-doesnt-open/
3
  Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures, zoom
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
+ Stable tag: 3.1.4
7
  License: GPL/MIT
8
 
9
  Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.
31
 
32
  == Changelog ==
33
 
34
+ = 3.1.4 =
35
+ * Made it work with query string and without query strings.
36
+
37
  = 3.1.3 =
38
  * Fixed "Parse error" - https://wordpress.org/support/topic/no-backend-after-fancybox-update/
39
  * Fixed "Breaks on query strings" - https://wordpress.org/support/topic/url-with-ssl1-fancybox-doesnt-open/