WP Gallery Custom Links - Version 1.0.1

Version Description

  • Changed priority on post_gallery filter from 10 to 999 to help ensure it runs after anything else
Download this release

Release Info

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

Code changes from version 1.0.0 to 1.0.1

Files changed (2) hide show
  1. readme.txt +7 -1
  2. wp-gallery-custom-links.php +2 -2
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.3.2
7
- Stable tag: 1.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -38,10 +38,16 @@ As soon as someone asks me something. :)
38
 
39
  == Changelog ==
40
 
 
 
 
41
  = 1.0.0 =
42
  * Initial release
43
 
44
  == Upgrade Notice ==
45
 
 
 
 
46
  = 1.0.0 =
47
  * Initial release
4
  Tags: gallery links, gallery link, gallery
5
  Requires at least: 3.3.2
6
  Tested up to: 3.3.2
7
+ Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
38
 
39
  == Changelog ==
40
 
41
+ = 1.0.1 =
42
+ * Changed priority on post_gallery filter from 10 to 999 to help ensure it runs after anything else
43
+
44
  = 1.0.0 =
45
  * Initial release
46
 
47
  == Upgrade Notice ==
48
 
49
+ = 1.0.1 =
50
+ * Changed priority on post_gallery filter from 10 to 999 to help ensure it runs after anything else
51
+
52
  = 1.0.0 =
53
  * Initial release
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.0.0
7
  Author: Four Lights Web Development
8
  Author URI: http://www.fourlightsweb.com
9
  License: GPL2
@@ -49,7 +49,7 @@ class WPGalleryCustomLinks {
49
  add_filter( 'attachment_fields_to_save', array( 'WPGalleryCustomLinks', 'apply_filter_attachment_fields_to_save' ), null , 2);
50
 
51
  // Add the filter for when the post_gallery is written out
52
- add_filter( 'post_gallery', array( 'WPGalleryCustomLinks', 'apply_filter_post_gallery' ), 10, 2 );
53
  } // End function init()
54
 
55
  public static function apply_filter_attachment_fields_to_edit( $form_fields, $post ) {
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.0.1
7
  Author: Four Lights Web Development
8
  Author URI: http://www.fourlightsweb.com
9
  License: GPL2
49
  add_filter( 'attachment_fields_to_save', array( 'WPGalleryCustomLinks', 'apply_filter_attachment_fields_to_save' ), null , 2);
50
 
51
  // Add the filter for when the post_gallery is written out
52
+ add_filter( 'post_gallery', array( 'WPGalleryCustomLinks', 'apply_filter_post_gallery' ), 999, 2 );
53
  } // End function init()
54
 
55
  public static function apply_filter_attachment_fields_to_edit( $form_fields, $post ) {