[wp-trac] [WordPress Trac] #54192: `get_header_image_tag` doesn't add `srcset`/`sizes`

WordPress Trac noreply at wordpress.org
Mon Sep 27 17:01:29 UTC 2021


#54192: `get_header_image_tag` doesn't add `srcset`/`sizes`
--------------------------+------------------------------
 Reporter:  strarsis      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by joyously):

 The `srcset` and `sizes` are added later, for all the images that have a
 `wp-image-*` class. The image id is needed to do the lookup for the data
 to use.

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


More information about the wp-trac mailing list