[wp-trac] [WordPress Trac] #27399: Filter the HTML output of wp_get_attachment_image

WordPress Trac noreply at wordpress.org
Mon Feb 23 14:11:45 UTC 2015


#27399: Filter the HTML output of wp_get_attachment_image
-----------------------------+----------------------
 Reporter:  fgirardey        |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Media            |     Version:  3.8.1
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch close  |     Focuses:
-----------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:7 asadowski10]:
 > In my case, when I try to recover from a media ID but that it is no
 longer I'd like to display a default image instead.

 #20205 might help with that, it has a patch for filtering
 `wp_get_attachment_image_src()`.

 Closing as wontfix, per comment:8.

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


More information about the wp-trac mailing list