Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 11 months ago

#4276 closed enhancement (invalid)

filter for attachment link

Reported by: fel64's profile fel64 Owned by: rob1n's profile rob1n
Milestone: Priority: lowest
Severity: trivial Version:
Component: Administration Keywords: filter, attachment
Focuses: Cc:

Description

I think it would be an enhancement if there was a filter for the link to an attachment as well as for the inner HTML. I use Lightbox, and it would greatly simplify lightboxing images if I could automatically add to the anchor element on an attachment.

Change History (5)

#1 @fel64
18 years ago

To clarify, the filter should be when 'sending to the editor' through the upload form.

#2 @rob1n
18 years ago

  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

#3 @rob1n
18 years ago

For innerHTML, there's the "attachment_innerHTML" filter.

#4 @Otto42
18 years ago

And for the URL of the link, there's the "wp_get_attachment_url" filter.

#5 @rob1n
18 years ago

  • Milestone 2.3 deleted
  • Resolution set to invalid
  • Status changed from assigned to closed

I guess this is invalid then.

Note: See TracTickets for help on using tickets.