FooBox Image Lightbox WordPress Plugin - Version 1.1.10

Version Description

  • Fix deactivation issue when PRO is activated
Download this release

Release Info

Developer bradvin
Plugin Icon 128x128 FooBox Image Lightbox WordPress Plugin
Version 1.1.10
Comparing to
See all releases

Code changes from version 1.1.9 to 1.1.10

Files changed (3) hide show
  1. foobox-free.php +2 -2
  2. free/foobox-free.php +0 -8
  3. readme.txt +3 -0
foobox-free.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: FooBox Image Lightbox
5
  Plugin URI: http://fooplugins.com/plugins/foobox/
6
  Description: The best responsive lightbox for WordPress.
7
- Version: 1.1.9
8
  Author: FooPlugins
9
  Author URI: http://fooplugins.com
10
  License: GPL2
@@ -20,7 +20,7 @@ if ( !class_exists( 'FooBox' ) ) {
20
  define( 'FOOBOX_BASE_ACTIVATION_REDIRECT_TRANSIENT_KEY', '_foobox_activation_redirect' );
21
  define( 'FOOBOX_BASE_PATH', plugin_dir_path( __FILE__ ) );
22
  define( 'FOOBOX_BASE_URL', plugin_dir_url( __FILE__ ) );
23
- define( 'FOOBOX_BASE_VERSION', '1.1.9' );
24
  // Create a helper function for easy SDK access.
25
  function foobox_fs()
26
  {
4
  Plugin Name: FooBox Image Lightbox
5
  Plugin URI: http://fooplugins.com/plugins/foobox/
6
  Description: The best responsive lightbox for WordPress.
7
+ Version: 1.1.10
8
  Author: FooPlugins
9
  Author URI: http://fooplugins.com
10
  License: GPL2
20
  define( 'FOOBOX_BASE_ACTIVATION_REDIRECT_TRANSIENT_KEY', '_foobox_activation_redirect' );
21
  define( 'FOOBOX_BASE_PATH', plugin_dir_path( __FILE__ ) );
22
  define( 'FOOBOX_BASE_URL', plugin_dir_url( __FILE__ ) );
23
+ define( 'FOOBOX_BASE_VERSION', '1.1.10' );
24
  // Create a helper function for easy SDK access.
25
  function foobox_fs()
26
  {
free/foobox-free.php CHANGED
@@ -45,7 +45,6 @@ if (!class_exists('Foobox_Free')) {
45
  add_action('admin_head', array($this, 'admin_inline_content'));
46
  add_action('foobox-free-settings_custom_type_render', array($this, 'custom_admin_settings_render'));
47
  new FooBox_Free_Settings();
48
- add_action('admin_init', array($this, 'deactivate_if_pro_activated'), 99);
49
 
50
  add_action( FOOBOX_ACTION_ADMIN_MENU_RENDER_GETTING_STARTED, array( $this, 'render_page_getting_started' ) );
51
  add_action( FOOBOX_ACTION_ADMIN_MENU_RENDER_SETTINGS, array( $this, 'render_page_settings' ) );
@@ -174,13 +173,6 @@ if (!class_exists('Foobox_Free')) {
174
  <?php
175
  }
176
 
177
- function deactivate_if_pro_activated() {
178
- if (class_exists('fooboxV2')) {
179
- deactivate_plugins( plugin_basename(__FILE__) ); // Deactivate me - FooBox PRO is running!
180
- wp_die( __('FooBox FREE was deactivated, as FooBox PRO is now running!', 'foobox-image-lightbox') . ' <a href="' . wp_get_referer() . '">' . __('Back to safety', 'foobox-image-lightbox'). '</a>' );
181
- }
182
- }
183
-
184
  function admin_notice_foogallery_lightboxes() {
185
  if ( ! current_user_can( 'activate_plugins' ) || ! class_exists( 'FooGallery_Plugin' ) )
186
  return;
45
  add_action('admin_head', array($this, 'admin_inline_content'));
46
  add_action('foobox-free-settings_custom_type_render', array($this, 'custom_admin_settings_render'));
47
  new FooBox_Free_Settings();
 
48
 
49
  add_action( FOOBOX_ACTION_ADMIN_MENU_RENDER_GETTING_STARTED, array( $this, 'render_page_getting_started' ) );
50
  add_action( FOOBOX_ACTION_ADMIN_MENU_RENDER_SETTINGS, array( $this, 'render_page_settings' ) );
173
  <?php
174
  }
175
 
 
 
 
 
 
 
 
176
  function admin_notice_foogallery_lightboxes() {
177
  if ( ! current_user_can( 'activate_plugins' ) || ! class_exists( 'FooGallery_Plugin' ) )
178
  return;
readme.txt CHANGED
@@ -75,6 +75,9 @@ There is a setting to try and disable hard coded lightboxes, but this is not a s
75
 
76
  == Changelog ==
77
 
 
 
 
78
  = 1.1.9 =
79
  * New setting for dropping IE7 support (for valid CSS)
80
  * Fix for when multiple jQuery versions loaded on page!
75
 
76
  == Changelog ==
77
 
78
+ = 1.1.10 =
79
+ * Fix deactivation issue when PRO is activated
80
+
81
  = 1.1.9 =
82
  * New setting for dropping IE7 support (for valid CSS)
83
  * Fix for when multiple jQuery versions loaded on page!