[wp-trac] [WordPress Trac] #58510: Add fetchpriority attribute to wp_preload_resources
WordPress Trac
noreply at wordpress.org
Sun Jun 11 16:55:25 UTC 2023
#58510: Add fetchpriority attribute to wp_preload_resources
-------------------------+-----------------------------
Reporter: luboslives | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
The
[https://developer.wordpress.org/reference/functions/wp_preload_resources/
wp_preload_resources] filter only allows for a small set of attributes.
Please add the [https://web.dev/fetch-priority/#the-fetchpriority-
attribute fetchpriority] attribute to that list. I see fetchpriority is
being discussed, but not in regards to this particular filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58510>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list