Version Description
- Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
Download this release
Release Info
Developer | moskis |
Plugin | FancyBox for WordPress |
Version | 2.7.5 |
Comparing to | |
See all releases |
Code changes from version 2.7.4 to 2.7.5
- fancybox.php +5 -5
- readme.txt +4 -1
fancybox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
-
Version: 2.7.
|
7 |
Author: José Pardilla
|
8 |
Author URI: http://josepardilla.com/
|
9 |
|
@@ -22,7 +22,7 @@ define('FBFW_URL', WP_PLUGIN_URL . '/fancybox-for-wordpress');
|
|
22 |
// When plugin is activated, update version, and set any new settings to default
|
23 |
function mfbfw_install() {
|
24 |
|
25 |
-
update_option('mfbfw_active_version', '2.7.
|
26 |
|
27 |
add_option('mfbfw_showTitle', 'on');
|
28 |
add_option('mfbfw_border', '');
|
@@ -321,9 +321,9 @@ function mfbfw_init() {
|
|
321 |
'hideOnContentClick': <?php if ($settings['hideOnContentClick']) { echo "true"; } else { echo "false"; } ?>,
|
322 |
'frameWidth': <?php echo $settings['frameWidth']; ?>,
|
323 |
'frameHeight': <?php echo $settings['frameHeight']; ?>,
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
'centerOnScroll': <?php if ($settings['centerOnScroll']) { echo "true"; } else { echo "false"; } ?><?php if ($settings['easing']) { ?>,
|
328 |
'easingIn': <?php echo '"' . $settings['easingIn'] . '"'; ?>,
|
329 |
'easingOut': <?php echo '"' . $settings['easingOut'] . '"'; ?>,
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
+
Version: 2.7.5
|
7 |
Author: José Pardilla
|
8 |
Author URI: http://josepardilla.com/
|
9 |
|
22 |
// When plugin is activated, update version, and set any new settings to default
|
23 |
function mfbfw_install() {
|
24 |
|
25 |
+
update_option('mfbfw_active_version', '2.7.5');
|
26 |
|
27 |
add_option('mfbfw_showTitle', 'on');
|
28 |
add_option('mfbfw_border', '');
|
321 |
'hideOnContentClick': <?php if ($settings['hideOnContentClick']) { echo "true"; } else { echo "false"; } ?>,
|
322 |
'frameWidth': <?php echo $settings['frameWidth']; ?>,
|
323 |
'frameHeight': <?php echo $settings['frameHeight']; ?>,
|
324 |
+
<?php if ($settings['callbackOnStart']) { echo "'callbackOnStart': ". $settings['callbackOnStart'] .","."\n"; } ?>
|
325 |
+
<?php if ($settings['callbackOnShow']) { echo "'callbackOnShow': ". $settings['callbackOnShow'] .","."\n"; } ?>
|
326 |
+
<?php if ($settings['callbackOnClose']) { echo "'callbackOnClose': ". $settings['callbackOnClose'] .","."\n"; } ?>
|
327 |
'centerOnScroll': <?php if ($settings['centerOnScroll']) { echo "true"; } else { echo "false"; } ?><?php if ($settings['easing']) { ?>,
|
328 |
'easingIn': <?php echo '"' . $settings['easingIn'] . '"'; ?>,
|
329 |
'easingOut': <?php echo '"' . $settings['easingOut'] . '"'; ?>,
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.asmallorange.com/extras/donate/?id=10218
|
|
4 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0.4
|
7 |
-
Stable tag: 2.7.
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
@@ -25,6 +25,9 @@ You can see the plugin working on [my blog](http://blog.moskis.net/downloads/plu
|
|
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 |
= 2.7.4 =
|
29 |
* Fixed: Little error tagging 2.7.3, a file didn't upload and broke options page.
|
30 |
* Update: Language POT file
|
4 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0.4
|
7 |
+
Stable tag: 2.7.5
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
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 |
+
= 2.7.5 =
|
29 |
+
* Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
|
30 |
+
|
31 |
= 2.7.4 =
|
32 |
* Fixed: Little error tagging 2.7.3, a file didn't upload and broke options page.
|
33 |
* Update: Language POT file
|