FancyBox for WordPress - Version 3.0.7

Version Description

  • Updated Fancybox library
  • Updated other libraries this plugins depends on such as jQuery easing and jQuery Mousewheel
  • Tested plugin with WordPress 4.6
Download this release

Release Info

Developer silkalns
Plugin Icon wp plugin FancyBox for WordPress
Version 3.0.7
Comparing to
See all releases

Code changes from version 3.0.6 to 3.0.7

Files changed (4) hide show
  1. admin.php +2 -32
  2. fancybox.php +9 -9
  3. readme.txt +21 -10
  4. screenshot-1.png +0 -0
admin.php CHANGED
@@ -87,39 +87,9 @@ function mfbfw_options_page() {
87
  </div>
88
  </form>
89
 
90
- <div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px auto 40px;overflow:hidden;padding-top:25px;width:735px">
91
-
92
- <div style="background-color:#FFFFE0;border:1px solid #E6DB55;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;text-align:center;width:200px">
93
- <p style="line-height:1.5em;"><?php _e( 'If you use FancyBox and like it, buy the author a beer!', 'mfbfw' ); ?></p>
94
- <form id="donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
95
- <input name="cmd" value="_donations" type="hidden">
96
- <input name="business" value="janis.skarnelis@gmail.com" type="hidden">
97
- <input name="item_name" value="FancyBox" type="hidden">
98
- <input name="amount" value="10.00" type="hidden">
99
- <input name="no_shipping" value="0" type="hidden">
100
- <input name="no_note" value="1" type="hidden">
101
- <input name="currency_code" value="EUR" type="hidden">
102
- <input name="tax" value="0" type="hidden">
103
- <input name="lc" value="LV" type="hidden">
104
- <input name="bn" value="PP-DonationsBF" type="hidden">
105
- <input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL ?>css/img/extra_donate.png" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
106
- </form>
107
- </div>
108
-
109
- <div style="background-color:#FFFFE0;border:1px solid #E6DB55;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;margin-left:10px;text-align:center;width:200px">
110
- <p style="line-height:1.5em;"><?php _e( 'The author of this WordPress Plugin also likes beer :P', 'mfbfw' ); ?></p>
111
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
112
- <input type="hidden" name="cmd" value="_s-xclick"/>
113
- <input type="hidden" name="hosted_button_id" value="3878319"/>
114
- <input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL ?>css/img/extra_donate.png" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
115
- <img height="1" width="1" border="0" alt="" src="https://www.paypal.com/es_ES/i/scr/pixel.gif" />
116
- </form>
117
- </div>
118
 
119
- <div style="background-color:#9DD1F2;border:1px solid #419ED9;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;margin-left:10px;text-align:center;width:200px">
120
- <p style="line-height:1.5em;"><a href="http://twitter.com/moskis/"><?php _e( 'Follow me on Twitter for more WordPress Plugins and Themes', 'mfbfw' ); ?></a></p>
121
- <img height="16" width="16" border="0" alt="" src="<?php echo FBFW_URL ?>css/img/extra_twitter.png" />
122
- </div>
123
 
124
  </div>
125
 
87
  </div>
88
  </form>
89
 
90
+ <div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px 0 40px;overflow:hidden;padding-top:25px;width:100%;float:left">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
+ Plugin developer and supported by <a href="https://colorlib.com">Colorlib</a>
 
 
 
93
 
94
  </div>
95
 
fancybox.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: https://wordpress.org/plugins/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.6
7
- Author: Jos&eacute; Pardilla
8
- Author URI: http://twitter.com/moskis
9
 
10
  * FancyBox is Copyright (c) 2008 - 2010 Janis Skarnelis
11
  * Dual licensed under the MIT and GPL licenses:
@@ -20,7 +20,7 @@ Author URI: http://twitter.com/moskis
20
  * Constants
21
  */
22
 
23
- define( 'FBFW_VERSION', '3.0.6' );
24
  define( 'FBFW_PATH', plugin_dir_path(__FILE__) );
25
  define( 'FBFW_URL', plugin_dir_url(__FILE__) );
26
 
@@ -157,9 +157,9 @@ function mfbfw_register_scripts() {
157
  }
158
 
159
  // Register scripts
160
- wp_register_script('fancybox', FBFW_URL . 'fancybox/jquery.fancybox.js', $jquery, '1.3.4', $footer ); // Main Fancybox script
161
- wp_register_script('jqueryeasing', FBFW_URL . 'js/jquery.easing.1.3.min.js', false, '1.3', $footer ); // Easing animations script
162
- wp_register_script('jquerymousewheel', FBFW_URL . 'js/jquery.mousewheel.3.0.4.pack.js', false, '3.0.4', $footer ); // Mouse wheel support script
163
 
164
 
165
  }
@@ -408,4 +408,4 @@ function mfbfw_plugin_action_links($links, $file) {
408
  return $links;
409
 
410
  }
411
- add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
2
  /*
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
5
+ Description: Integrates FancyBox by Janis Skarnelis into WordPress.
6
+ Version: 3.0.7
7
+ Author: Colorlib
8
+ Author URI: https://twitter.com/colorlib
9
 
10
  * FancyBox is Copyright (c) 2008 - 2010 Janis Skarnelis
11
  * Dual licensed under the MIT and GPL licenses:
20
  * Constants
21
  */
22
 
23
+ define( 'FBFW_VERSION', '3.0.7' );
24
  define( 'FBFW_PATH', plugin_dir_path(__FILE__) );
25
  define( 'FBFW_URL', plugin_dir_url(__FILE__) );
26
 
157
  }
158
 
159
  // Register scripts
160
+ wp_register_script('fancybox', FBFW_URL . 'fancybox/jquery.fancybox.js', $jquery, '1.3.8', $footer ); // Main Fancybox script
161
+ wp_register_script('jqueryeasing', FBFW_URL . 'js/jquery.easing.min.js', false, '1.4', $footer ); // Easing animations script
162
+ wp_register_script('jquerymousewheel', FBFW_URL . 'js/jquery.mousewheel.pack.js', false, '3.1.13', $footer ); // Mouse wheel support script
163
 
164
 
165
  }
408
  return $links;
409
 
410
  }
411
+ add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
readme.txt CHANGED
@@ -1,30 +1,41 @@
1
  === FancyBox for WordPress ===
2
- 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.6
7
  License: GPL/MIT
8
 
9
- Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
10
 
11
 
12
  == Description ==
13
 
14
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
15
 
16
- You can easely customize almost anything you can think about fancybox: the border, margin width and color, zoom speed, animation type, close button position, overlay color and opacity and even more advanced option like several options to group images into galleries, and more...
17
 
18
- By default, the plugin will use jQuery to apply [FancyBox](http://fancybox.net/) to ANY thumbnails that link directly to an image. This includes posts, the sidebar, etc, so you can activate it and it will be applied automatically.
19
 
20
  = Demo =
21
 
22
  You can see the plugin working on [this blog](http://blog.moskis.net/2012/01/20/teclado-apple-en-windows-7/) although there's nothing amazing to see, just a FancyBox simple implementation, that's the point ;) You can take a look at the code if you're curious, though.
23
 
 
 
 
 
 
 
 
24
 
25
  == Changelog ==
26
 
27
- This changelog is for the WordPress plugin. For the Fancybox main changelog go to its [home page](http://fancybox.net/changelog/).
 
 
 
 
28
 
29
  = 3.0.6 =
30
  * Fixes to JavaScript code for showing and hiding elements as they are needed in Settings page. (Thanks to jono55 for reporting)
@@ -193,7 +204,7 @@ Fixes the Revert options button and wrong version number on settings page. Also
193
 
194
  1. Upload the `fancybox-for-wordpress` folder to the `/wp-content/plugins/` directory
195
  2. Activate the plugin through the 'Plugins' menu in WordPress
196
- 3. That's it, [FancyBox](http://fancybox.net/) will be automatically applied to all your image links and galleries.
197
  4. If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
198
 
199
 
@@ -221,4 +232,4 @@ If you think your site might be compromised in any other way check this guide: [
221
 
222
  No, there's nothing wrong with the actual FancyBox script that i know of.
223
 
224
- The vulnerability detected in versions 3.0.2 and lower of the "FancyBox for WordPress" plugin was limited to the plugin itself. Other FancyBox plugins or manual implementations of FancyBox are unrelated to this issue.
1
  === FancyBox for WordPress ===
2
+ Contributors: silkalns
3
+ Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures, zoom
4
  Requires at least: 3.4
5
+ Tested up to: 4.6
6
+ Stable tag: 3.0.7
7
  License: GPL/MIT
8
 
9
+ Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.
10
 
11
 
12
  == Description ==
13
 
14
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
15
 
16
+ You can easily customize almost anything you can think about fancybox lightbox: the border, margin width and color, zoom speed, animation type, close button position, overlay color and opacity and even more advanced option like several options to group images into galleries, and more...
17
 
18
+ By default, the plugin will use jQuery to apply FancyBox to ANY thumbnails that link directly to an image. This includes posts, the sidebar, etc, so you can activate it and it will be applied automatically.
19
 
20
  = Demo =
21
 
22
  You can see the plugin working on [this blog](http://blog.moskis.net/2012/01/20/teclado-apple-en-windows-7/) although there's nothing amazing to see, just a FancyBox simple implementation, that's the point ;) You can take a look at the code if you're curious, though.
23
 
24
+ = Further Reading =
25
+
26
+ This plugin is developed and maintained by Colorlib. Which is well know for their free [WordPress Themes](https://colorlib.com/wp/themes/). However, now they are looking to extend their presence in plugin development and believe that FancyBox lightbox is a great way to start.
27
+
28
+ If you are new to WordPress and want to lear more we have got you covered. Colorlib will teach you have to [start a blog](https://colorlib.com/) or [create a website](https://colorlib.com/wp/how-to-make-a-website/) and much more. If you are already familiar with WordPress you likely want to learn how to make it faster and more reliable. That's when you want to look into hosting and more specifically [WordPress hosting](http://colorlib.com/wp/wordpress-hosting).
29
+
30
+ If you enjoy using FancyBox lightbox for WordPress please leave a [positive feedback](https://wordpress.org/support/plugin/fancybox-for-wordpress/reviews/?filter=5). We are committed to make it the best lightbox plugin for WordPress.
31
 
32
  == Changelog ==
33
 
34
+ = 3.0.7 =
35
+
36
+ * Updated Fancybox library
37
+ * Updated other libraries this plugins depends on such as jQuery easing and jQuery Mousewheel
38
+ * Tested plugin with WordPress 4.6
39
 
40
  = 3.0.6 =
41
  * Fixes to JavaScript code for showing and hiding elements as they are needed in Settings page. (Thanks to jono55 for reporting)
204
 
205
  1. Upload the `fancybox-for-wordpress` folder to the `/wp-content/plugins/` directory
206
  2. Activate the plugin through the 'Plugins' menu in WordPress
207
+ 3. That's it, FancyBox will be automatically applied to all your image links and galleries.
208
  4. If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
209
 
210
 
232
 
233
  No, there's nothing wrong with the actual FancyBox script that i know of.
234
 
235
+ The vulnerability detected in versions 3.0.2 and lower of the "FancyBox for WordPress" plugin was limited to the plugin itself. Other FancyBox plugins or manual implementations of FancyBox are unrelated to this issue.
screenshot-1.png CHANGED
Binary file