Easy FancyBox - Version 1.5.8.1

Version Description

= 1.5.8.2 = New features: auto-popup delay, margin, nolightbox... Bugfixes and PHP7 compatibility

Download this release

Release Info

Developer deployer
Plugin Icon 128x128 Easy FancyBox
Version 1.5.8.1
Comparing to
See all releases

Code changes from version 1.5.8 to 1.5.8.1

Files changed (3) hide show
  1. easy-fancybox.php +3 -5
  2. inc/class-easyfancybox.php +2 -2
  3. readme.txt +3 -2
easy-fancybox.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://status301.net/wordpress-plugins/easy-fancybox/
5
  Description: Easily enable the <a href="http://fancybox.net/">FancyBox jQuery extension</a> on all image, SWF, PDF, YouTube, Dailymotion and Vimeo links. Also supports iFrame and inline content.
6
  Text Domain: easy-fancybox
7
  Domain Path: languages
8
- Version: 1.5.8
9
  Author: RavanH
10
  Author URI: http://status301.net/
11
  */
@@ -37,18 +37,16 @@ if ( ! defined( 'ABSPATH' ) ) exit;
37
  * CONSTANTS
38
  **************/
39
 
40
- define( 'EASY_FANCYBOX_VERSION', '1.5.8' );
41
  define( 'FANCYBOX_VERSION', '1.3.8' );
42
  define( 'MOUSEWHEEL_VERSION', '3.1.12' );
43
  define( 'EASING_VERSION', '1.3.2' );
44
  define( 'METADATA_VERSION', '2.22.1' );
45
- if( !defined( __DIR__ ) )
46
- define( __DIR__, dirname(__FILE__) );
47
 
48
  /**************
49
  * CLASS
50
  **************/
51
 
52
- require_once __DIR__ . '/inc/class-easyfancybox.php';
53
 
54
  $efb = new easyFancyBox( __FILE__ );
5
  Description: Easily enable the <a href="http://fancybox.net/">FancyBox jQuery extension</a> on all image, SWF, PDF, YouTube, Dailymotion and Vimeo links. Also supports iFrame and inline content.
6
  Text Domain: easy-fancybox
7
  Domain Path: languages
8
+ Version: 1.5.8.1
9
  Author: RavanH
10
  Author URI: http://status301.net/
11
  */
37
  * CONSTANTS
38
  **************/
39
 
40
+ define( 'EASY_FANCYBOX_VERSION', '1.5.8.1' );
41
  define( 'FANCYBOX_VERSION', '1.3.8' );
42
  define( 'MOUSEWHEEL_VERSION', '3.1.12' );
43
  define( 'EASING_VERSION', '1.3.2' );
44
  define( 'METADATA_VERSION', '2.22.1' );
 
 
45
 
46
  /**************
47
  * CLASS
48
  **************/
49
 
50
+ require_once dirname(__FILE__) . '/inc/class-easyfancybox.php';
51
 
52
  $efb = new easyFancyBox( __FILE__ );
inc/class-easyfancybox.php CHANGED
@@ -406,7 +406,7 @@ jQuery(document).on(\'ready\',easy_fancybox_auto);' );
406
 
407
  public static function plugins_loaded(){
408
  if ( is_admin() ) {
409
- require_once __DIR__ . '/class-easyfancybox-admin.php';
410
  easyFancyBox_Admin::run();
411
  }
412
  }
@@ -421,7 +421,7 @@ jQuery(document).on(\'ready\',easy_fancybox_auto);' );
421
  self::$plugin_url = plugins_url( '/', $file );
422
  self::$plugin_basename = plugin_basename( $file );
423
 
424
- require_once __DIR__ . '/class-easyfancybox-options.php';
425
 
426
  // HOOKS //
427
  add_action('plugins_loaded', array(__CLASS__, 'plugins_loaded'));
406
 
407
  public static function plugins_loaded(){
408
  if ( is_admin() ) {
409
+ require_once dirname(__FILE__) . '/class-easyfancybox-admin.php';
410
  easyFancyBox_Admin::run();
411
  }
412
  }
421
  self::$plugin_url = plugins_url( '/', $file );
422
  self::$plugin_basename = plugin_basename( $file );
423
 
424
+ require_once dirname(__FILE__) . '/class-easyfancybox-options.php';
425
 
426
  // HOOKS //
427
  add_action('plugins_loaded', array(__CLASS__, 'plugins_loaded'));
readme.txt CHANGED
@@ -493,7 +493,7 @@ If you still do not get to see your images in FancyBox, ask on the [Easy FancyBo
493
 
494
  == Upgrade Notice ==
495
 
496
- = 1.5.8.1 =
497
  New features: auto-popup delay, margin, nolightbox... Bugfixes and PHP7 compatibility
498
 
499
  == Changelog ==
@@ -505,8 +505,9 @@ TODO: make jQuery inclusion optional
505
  TODO: make jQuery 1.6- compat optional
506
  TODO: fix "fancybox iframe" being forced to "fancybox image iframe" when Inline Content is activated
507
 
508
- = 1.5.8.1 =
509
  * BUGFIX: use dirname(__FILE__) instead of relying on __DIR__ to be available
 
510
 
511
  = 1.5.8 =
512
  * FIX: variable variable php 7 compat
493
 
494
  == Upgrade Notice ==
495
 
496
+ = 1.5.8.2 =
497
  New features: auto-popup delay, margin, nolightbox... Bugfixes and PHP7 compatibility
498
 
499
  == Changelog ==
505
  TODO: make jQuery 1.6- compat optional
506
  TODO: fix "fancybox iframe" being forced to "fancybox image iframe" when Inline Content is activated
507
 
508
+ = 1.5.8.2 =
509
  * BUGFIX: use dirname(__FILE__) instead of relying on __DIR__ to be available
510
+ * Explicit transparency for gallery navigation links
511
 
512
  = 1.5.8 =
513
  * FIX: variable variable php 7 compat