[wp-trac] [WordPress Trac] #35169: Responsive srcset missing on post excerpt

WordPress Trac noreply at wordpress.org
Sun Dec 20 21:20:08 UTC 2015


#35169: Responsive srcset missing on post excerpt
--------------------------+------------------------------
 Reporter:  programmin    |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  performance
--------------------------+------------------------------
Changes (by joemcgill):

 * owner:   => joemcgill
 * status:  new => reviewing


Comment:

 Hi @programmin,

 By default, excerpts in WordPress don't include images unless they're
 manually added to the excerpt field. If you need to filter images included
 in excerpts, you can add the `wp_make_content_images_responsive()`
 function to `the_excerpt` filter as you suggest in your description. I
 don't think we should add this filter by default since it isn't useful to
 most sites.

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


More information about the wp-trac mailing list