[wp-trac] [WordPress Trac] #22075: Allow custom attributes to be set in `wp_get_attachment_link`

WordPress Trac noreply at wordpress.org
Fri May 23 19:41:54 UTC 2014


#22075: Allow custom attributes to be set in `wp_get_attachment_link`
--------------------------+-----------------------------
 Reporter:  webord        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------

Comment (by ericlewis):

 attachment:22075.3.diff changes the function to take an array hash as the
 only parameter, with backwards compatibility inspired by BuddyPress.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22075#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list