[wp-trac] [WordPress Trac] #20205: Add the ability to filter wp_get_attachment_image()

WordPress Trac noreply at wordpress.org
Sun May 25 17:54:47 UTC 2014


#20205: Add the ability to filter wp_get_attachment_image()
----------------------------+-----------------------------
 Reporter:  helgatheviking  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Media           |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by ericlewis):

 In attachment:20205.1.diff, need to add backwards compatibility logic:
 icon will only be returned if an image was not found. If an image is found
 and an icon is requested, return the image.

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


More information about the wp-trac mailing list