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

WordPress Trac noreply at wordpress.org
Thu Sep 20 15:02:36 UTC 2018


#27399: Filter the HTML output of wp_get_attachment_image
-------------------------+------------------------------
 Reporter:  fgirardey    |       Owner:  (none)
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  2.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by zodiac1978):

 I also think filtering the HTML output would be helpful for lazy loading
 plugins. Especially as we now have those new media widgets, which couldn't
 be easily handled by these plugins.

 Patch looks fine for me.

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


More information about the wp-trac mailing list