WP Gallery Custom Links - Version 1.2.1

Version Description

  • Fixed a bug where javascript hover effects were not working properly on images.
Download this release

Release Info

Developer fourlightsweb
Plugin Icon wp plugin WP Gallery Custom Links
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

Files changed (2) hide show
  1. readme.txt +7 -1
  2. wp-gallery-custom-links.php +5 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.fourlightsweb.com/wordpress-plugins/wp-gallery-custom-li
4
  Tags: gallery links, gallery link, gallery
5
  Requires at least: 3.3.2
6
  Tested up to: 3.4.1
7
- Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -55,6 +55,9 @@ that function outside of the WordPress [gallery] shortcode.
55
 
56
  == Changelog ==
57
 
 
 
 
58
  = 1.2.0 =
59
  * By popular demand, added an option to open gallery image links in a new window.
60
 
@@ -89,6 +92,9 @@ that function outside of the WordPress [gallery] shortcode.
89
 
90
  == Upgrade Notice ==
91
 
 
 
 
92
  = 1.2.0 =
93
  * By popular demand, added an option to open gallery image links in a new window.
94
 
4
  Tags: gallery links, gallery link, gallery
5
  Requires at least: 3.3.2
6
  Tested up to: 3.4.1
7
+ Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.2.1 =
59
+ * Fixed a bug where javascript hover effects were not working properly on images.
60
+
61
  = 1.2.0 =
62
  * By popular demand, added an option to open gallery image links in a new window.
63
 
92
 
93
  == Upgrade Notice ==
94
 
95
+ = 1.2.1 =
96
+ * Fixed a bug where javascript hover effects were not working properly on images.
97
+
98
  = 1.2.0 =
99
  * By popular demand, added an option to open gallery image links in a new window.
100
 
wp-gallery-custom-links.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Gallery Custom Links
4
  Plugin URI: http://www.fourlightsweb.com/wordpress-plugins/wp-gallery-custom-links/
5
  Description: Specifiy custom links for WordPress gallery images (instead of attachment or file only).
6
- Version: 1.2.0
7
  Author: Four Lights Web Development
8
  Author URI: http://www.fourlightsweb.com
9
  License: GPL2
@@ -174,11 +174,11 @@ class WPGalleryCustomLinks {
174
  $output .= "<script type=\"text/javascript\">\n";
175
  $output .= "/* <![CDATA[ */\n";
176
  $output .= "jQuery(document).ready(function () {\n";
177
- $output .= " jQuery('a.no-lightbox').unbind();\n";
178
- $output .= " jQuery('a.no-lightbox').off();\n";
179
  $output .= " jQuery('a.no-lightbox').click(wp_gallery_custom_links_click);\n";
180
- $output .= " jQuery('a.set-target').unbind();\n";
181
- $output .= " jQuery('a.set-target').off();\n";
182
  $output .= " jQuery('a.set-target').click(wp_gallery_custom_links_click);\n";
183
  $output .= "});\n";
184
  $output .= "function wp_gallery_custom_links_click() {\n";
3
  Plugin Name: WP Gallery Custom Links
4
  Plugin URI: http://www.fourlightsweb.com/wordpress-plugins/wp-gallery-custom-links/
5
  Description: Specifiy custom links for WordPress gallery images (instead of attachment or file only).
6
+ Version: 1.2.1
7
  Author: Four Lights Web Development
8
  Author URI: http://www.fourlightsweb.com
9
  License: GPL2
174
  $output .= "<script type=\"text/javascript\">\n";
175
  $output .= "/* <![CDATA[ */\n";
176
  $output .= "jQuery(document).ready(function () {\n";
177
+ $output .= " jQuery('a.no-lightbox').unbind('click');\n";
178
+ $output .= " jQuery('a.no-lightbox').off('click');\n";
179
  $output .= " jQuery('a.no-lightbox').click(wp_gallery_custom_links_click);\n";
180
+ $output .= " jQuery('a.set-target').unbind('click');\n";
181
+ $output .= " jQuery('a.set-target').off('click');\n";
182
  $output .= " jQuery('a.set-target').click(wp_gallery_custom_links_click);\n";
183
  $output .= "});\n";
184
  $output .= "function wp_gallery_custom_links_click() {\n";