jQuery Colorbox - Version 3.8.1

Version Description

(2010-12-21) = * BUGFIX: Last bugfix broke the plugin, settings are now correctly read again.

Download this release

Release Info

Developer techotronic
Plugin Icon 128x128 jQuery Colorbox
Version 3.8.1
Comparing to
See all releases

Code changes from version 3.8 to 3.8.1

Files changed (2) hide show
  1. jquery-colorbox.php +6 -6
  2. readme.txt +4 -1
jquery-colorbox.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin Name: jQuery Colorbox
7
  * Plugin URI: http://www.techotronic.de/plugins/jquery-colorbox/
8
  * Description: Used to overlay images on the current page. Images in one post are grouped automatically.
9
- * Version: 3.8
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
@@ -19,7 +19,7 @@
19
  ?>
20
  <?php
21
  //define constants
22
- define('JQUERYCOLORBOX_VERSION', '3.8');
23
  define('COLORBOXLIBRARY_VERSION', '1.3.15');
24
 
25
  if (!defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
@@ -91,10 +91,10 @@ class jQueryColorbox {
91
  register_uninstall_hook(__FILE__, array('jQueryColorbox', 'deleteSettingsFromDatabase'));
92
  }
93
 
94
- //only add link to meta box
95
- if(isset($this->colorboxSettings['removeLinkFromMetaBox']) && !$this->colorboxSettings['removeLinkFromMetaBox']){
96
- add_action('wp_meta',array(& $this, 'renderMetaLink'));
97
- }
98
 
99
  // Set default theme if no theme is set already
100
  if (empty($this->colorboxThemes[$this->colorboxSettings['colorboxTheme']])) {
6
  * Plugin Name: jQuery Colorbox
7
  * Plugin URI: http://www.techotronic.de/plugins/jquery-colorbox/
8
  * Description: Used to overlay images on the current page. Images in one post are grouped automatically.
9
+ * Version: 3.8.1
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
19
  ?>
20
  <?php
21
  //define constants
22
+ define('JQUERYCOLORBOX_VERSION', '3.8.1');
23
  define('COLORBOXLIBRARY_VERSION', '1.3.15');
24
 
25
  if (!defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
91
  register_uninstall_hook(__FILE__, array('jQueryColorbox', 'deleteSettingsFromDatabase'));
92
  }
93
 
94
+ // Create the settings array by merging the user's settings and the defaults
95
+ $usersettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
96
+ $defaultArray = jQueryColorbox::jQueryColorboxDefaultSettings();
97
+ $this->colorboxSettings = wp_parse_args($usersettings, $defaultArray);
98
 
99
  // Set default theme if no theme is set already
100
  if (empty($this->colorboxThemes[$this->colorboxSettings['colorboxTheme']])) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.techotronic.de/donate/
4
  Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
5
  Requires at least: 2.8
6
  Tested up to: 3.0
7
- Stable tag: 3.8
8
 
9
  Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
10
 
@@ -166,6 +166,9 @@ Feel free to write an email to blog [at] techotronic.de or open a thread at <a h
166
  I'll include new FAQs in every new version. Promise.
167
 
168
  == Changelog ==
 
 
 
169
  = 3.8 (2010-12-21) =
170
  * BUGFIX: Theme change is now saved again.
171
 
4
  Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
5
  Requires at least: 2.8
6
  Tested up to: 3.0
7
+ Stable tag: 3.8.1
8
 
9
  Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
10
 
166
  I'll include new FAQs in every new version. Promise.
167
 
168
  == Changelog ==
169
+ = 3.8.1 (2010-12-21) =
170
+ * BUGFIX: Last bugfix broke the plugin, settings are now correctly read again.
171
+
172
  = 3.8 (2010-12-21) =
173
  * BUGFIX: Theme change is now saved again.
174