[wp-trac] [WordPress Trac] #58680: Header image does not add fetch priority attribute
WordPress Trac
noreply at wordpress.org
Fri Jun 30 09:16:03 UTC 2023
#58680: Header image does not add fetch priority attribute
--------------------------+----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: Future Release
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: performance |
--------------------------+----------------------------
Added in #58235 ( [56037] ), fetch priority was added so add fetch
priority attribute to large images at the start of the page. However, the
custom header functionality built in WordPress support not support adding
this attribute.
Custom header images, ( as an image tag ) are used by many of the core
teams, including
Twenty Eleven
Twenty Fourteen
Twenty sixteen
Twenty Ten
Twenty Twelve
Twenty Seventeen
It is also used in a number of themes on the repo, using these functions.
[https://www.wpdirectory.net/search/01H45S14KC5GX7PFN1EP60A974
the_custom_header_markup]
[https://www.wpdirectory.net/search/01H45S48HHE1B10RYQQHVE8K0C
get_custom_header_markup]
[https://www.wpdirectory.net/search/01H45S7RPRRCXWPB3ASD0R5YFH
get_header_image_tag]
[https://www.wpdirectory.net/search/01H45S9FC4JX58YTPRS8RYTQCW
get_header_image]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58680>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list