FancyBox for WordPress - Version 3.0.4

Version Description

  • Renamed the setting affected by the security issue mentioned in 3.0.3. This should stop the malicious code from appearing on sites where the plugin is updated without removing the malicious code.
Download this release

Release Info

Developer moskis
Plugin Icon wp plugin FancyBox for WordPress
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

Files changed (3) hide show
  1. fancybox.php +4 -4
  2. lib/admin-tab-calls.php +1 -1
  3. readme.txt +4 -1
fancybox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: http://plugins.josepardilla.com/fancybox-for-wordpress/
5
  Description: Integrates <a href="http://fancybox.net/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
6
- Version: 3.0.3
7
  Author: Jos&eacute; Pardilla
8
  Author URI: http://josepardilla.com/
9
 
@@ -20,7 +20,7 @@ Author URI: http://josepardilla.com/
20
  * Constants
21
  */
22
 
23
- define( 'FBFW_VERSION', '3.0.3' );
24
  define( 'FBFW_PATH', plugin_dir_path(__FILE__) );
25
  define( 'FBFW_URL', plugin_dir_url(__FILE__) );
26
 
@@ -92,7 +92,7 @@ function mfbfw_defaults() {
92
 
93
  // Extra Calls
94
  'extraCallsEnable' => '',
95
- 'extraCalls' => '',
96
 
97
  // Uninstall
98
  'uninstall' => ''
@@ -306,7 +306,7 @@ jQuery("a.fancybox").fancybox({
306
 
307
  });
308
 
309
- <?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCalls']; echo "\n"; } ?>
310
 
311
  })
312
  </script>
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: http://plugins.josepardilla.com/fancybox-for-wordpress/
5
  Description: Integrates <a href="http://fancybox.net/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
6
+ Version: 3.0.4
7
  Author: Jos&eacute; Pardilla
8
  Author URI: http://josepardilla.com/
9
 
20
  * Constants
21
  */
22
 
23
+ define( 'FBFW_VERSION', '3.0.4' );
24
  define( 'FBFW_PATH', plugin_dir_path(__FILE__) );
25
  define( 'FBFW_URL', plugin_dir_url(__FILE__) );
26
 
92
 
93
  // Extra Calls
94
  'extraCallsEnable' => '',
95
+ 'extraCallsData' => '',
96
 
97
  // Uninstall
98
  'uninstall' => ''
306
 
307
  });
308
 
309
+ <?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCallsData']; echo "\n"; } ?>
310
 
311
  })
312
  </script>
lib/admin-tab-calls.php CHANGED
@@ -20,7 +20,7 @@
20
  <div id="extraCallsBlock">
21
 
22
  <label for="extraCalls">
23
- <textarea rows="20" cols="50" class="large-text code" name="mfbfw[extraCalls]" wrap="physical" id="extraCalls"><?php echo ($settings['extraCalls']); ?></textarea>
24
  </label><br /><br />
25
 
26
  <small><strong><em><?php _e('Example:', 'mfbfw'); ?></em></strong></small><br />
20
  <div id="extraCallsBlock">
21
 
22
  <label for="extraCalls">
23
+ <textarea rows="20" cols="50" class="large-text code" name="mfbfw[extraCallsData]" wrap="physical" id="extraCalls"><?php echo ($settings['extraCallsData']); ?></textarea>
24
  </label><br /><br />
25
 
26
  <small><strong><em><?php _e('Example:', 'mfbfw'); ?></em></strong></small><br />
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: moskis
3
  Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
4
  Requires at least: 3.4
5
  Tested up to: 4.1
6
- Stable tag: 3.0.3
7
  License: GPL/MIT
8
 
9
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
@@ -25,6 +25,9 @@ You can see the plugin working on [this blog](http://plugins.josepardilla.com/fa
25
 
26
  This changelog is for the WordPress plugin. For the Fancybox main changelog go to its [home page](http://fancybox.net/changelog/).
27
 
 
 
 
28
  = 3.0.3 =
29
  * Fixed a security issue. (Thanks to mickaelb for reporting and Konstantin Kovshenin for providing the fix)
30
 
3
  Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
4
  Requires at least: 3.4
5
  Tested up to: 4.1
6
+ Stable tag: 3.0.4
7
  License: GPL/MIT
8
 
9
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
25
 
26
  This changelog is for the WordPress plugin. For the Fancybox main changelog go to its [home page](http://fancybox.net/changelog/).
27
 
28
+ = 3.0.4 =
29
+ * Renamed the setting affected by the security issue mentioned in 3.0.3. This should stop the malicious code from appearing on sites where the plugin is updated without removing the malicious code.
30
+
31
  = 3.0.3 =
32
  * Fixed a security issue. (Thanks to mickaelb for reporting and Konstantin Kovshenin for providing the fix)
33