[wp-trac] [WordPress Trac] #46134: Allow filtering of `$header` object in `get_header_image_tag()` function (for custom header image override)

WordPress Trac noreply at wordpress.org
Mon Sep 27 16:36:05 UTC 2021


#46134: Allow filtering of `$header` object in `get_header_image_tag()` function
(for custom header image override)
-----------------------------------+-----------------------------
 Reporter:  webmandesign           |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Media                  |     Version:  5.0.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------

Comment (by strarsis):

 +1, the custom header image markup currently doesn't contain `srcset` or
 `sizes` - which is usually important for header images that are can be
 quite large.

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


More information about the wp-trac mailing list