Opened 8 years ago
Closed 6 years ago
#40155 closed enhancement (fixed)
Pass $attr through to wp_get_attachment_link filter
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch reporter-feedback |
Focuses: | Cc: |
Description
The $attr
variable is useful context for knowing where wp_get_attachment_link()
is being called and, subsequently, how the value should be filtered.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
@danielbachhuber – Assuming this enhancement still helpful, the patch looks good to me.