Title: fixlink function doesn&#039;t work
Last modified: August 20, 2016

---

# fixlink function doesn't work

 *  [Tim Smith](https://wordpress.org/support/users/creativeinfusion/)
 * (@creativeinfusion)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fixlink-function-doesnt-work/)
 * The fixlink function used as a filter on attachment_link produces errors as the
   two variables $link and $id are not defined on the function definition, i.e. 
   it should be fixLink ($link, $id) to work.
 * Presumably this was to get the plugin to work even if the gallery shortcode didn’t
   use the file=link command.
 * Personally I’d rather not have the filter as it messes up other code I’m using
   and people should just read the instructions.
 * [http://wordpress.org/extend/plugins/jquery-lightbox-balupton-edition/](http://wordpress.org/extend/plugins/jquery-lightbox-balupton-edition/)

The topic ‘fixlink function doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-lightbox-balupton-edition.
   svg)
 * [jQuery Lightbox](https://wordpress.org/plugins/jquery-lightbox-balupton-edition/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-lightbox-balupton-edition/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-lightbox-balupton-edition/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-lightbox-balupton-edition/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-lightbox-balupton-edition/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-lightbox-balupton-edition/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Tim Smith](https://wordpress.org/support/users/creativeinfusion/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/fixlink-function-doesnt-work/)
 * Status: not resolved