Easy FancyBox - Version 1.8.16

Version Description

  • FIX: Trying to get property 'ID' of non-object
  • mark WordPress 5.2 compatible
Download this release

Release Info

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

Code changes from version 1.8.15 to 1.8.16

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.8.15
9
  Author: RavanH
10
  Author URI: http://status301.net/
11
  */
@@ -37,7 +37,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
37
  * CONSTANTS
38
  **************/
39
 
40
- define( 'EASY_FANCYBOX_VERSION', '1.8.15' );
41
  define( 'FANCYBOX_VERSION', '1.3.24' );
42
  define( 'MOUSEWHEEL_VERSION', '3.1.13' );
43
  define( 'EASING_VERSION', '1.4.1' );
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.8.16
9
  Author: RavanH
10
  Author URI: http://status301.net/
11
  */
37
  * CONSTANTS
38
  **************/
39
 
40
+ define( 'EASY_FANCYBOX_VERSION', '1.8.16' );
41
  define( 'FANCYBOX_VERSION', '1.3.24' );
42
  define( 'MOUSEWHEEL_VERSION', '3.1.13' );
43
  define( 'EASING_VERSION', '1.4.1' );
inc/class-easyfancybox-admin.php CHANGED
@@ -6,7 +6,7 @@ class easyFancyBox_Admin extends easyFancyBox {
6
 
7
  public static $pagehook;
8
 
9
- public static $compat_pro_min = '1.5.3';
10
 
11
  public static $do_compat_warning = false;
12
 
@@ -224,7 +224,10 @@ class easyFancyBox_Admin extends easyFancyBox {
224
  ACTIONS & FILTERS
225
  ***********************/
226
 
227
- public static function admin_notice() {
 
 
 
228
  /* Version Nag */
229
  if ( self::$do_compat_warning && current_user_can( 'install_plugins' ) && !get_user_meta($current_user->ID, 'easy_fancybox_ignore_notice') ) {
230
  echo '<div class="update-nag"><p>';
6
 
7
  public static $pagehook;
8
 
9
+ public static $compat_pro_min = '1.8';
10
 
11
  public static $do_compat_warning = false;
12
 
224
  ACTIONS & FILTERS
225
  ***********************/
226
 
227
+ public static function admin_notice()
228
+ {
229
+ global $current_user;
230
+
231
  /* Version Nag */
232
  if ( self::$do_compat_warning && current_user_can( 'install_plugins' ) && !get_user_meta($current_user->ID, 'easy_fancybox_ignore_notice') ) {
233
  echo '<div class="update-nag"><p>';
readme.txt CHANGED
@@ -494,14 +494,17 @@ If you still do not get to see your images in FancyBox, ask on the [Easy FancyBo
494
 
495
  == Upgrade Notice ==
496
 
497
- = 1.8.16 =
498
- Fix Trying to get property 'ID' of non-object
499
 
500
 
501
  == Changelog ==
502
 
 
 
 
503
  = 1.8.16 =
504
  * FIX: Trying to get property 'ID' of non-object
 
505
 
506
  = 1.8.15 =
507
  * FIX: inline wrapper nesting issue
494
 
495
  == Upgrade Notice ==
496
 
497
+ = 1.8.17 =
 
498
 
499
 
500
  == Changelog ==
501
 
502
+ = 1.8.17 =
503
+ *
504
+
505
  = 1.8.16 =
506
  * FIX: Trying to get property 'ID' of non-object
507
+ * mark WordPress 5.2 compatible
508
 
509
  = 1.8.15 =
510
  * FIX: inline wrapper nesting issue