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.
- The topic ‘fixlink function doesn't work’ is closed to new replies.