[wp-trac] [WordPress Trac] #40155: Pass $attr through to wp_get_attachment_link filter

WordPress Trac noreply at wordpress.org
Tue Mar 14 22:00:10 UTC 2017


#40155: Pass $attr through to wp_get_attachment_link filter
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Media            |    Version:
 Severity:  normal           |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 The `$attr` variable is useful context for knowing where
 `wp_get_attachment_link()` is being called and, subsequently, how the
 value should be filtered.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40155>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list