[wp-trac] [WordPress Trac] #58510: Add fetchpriority attribute to wp_preload_resources
WordPress Trac
noreply at wordpress.org
Thu Mar 7 07:07:11 UTC 2024
#58510: Add fetchpriority attribute to wp_preload_resources
--------------------------------------+------------------------------
Reporter: luboslives | Owner: adamsilverstein
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.1
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch | Focuses: performance
--------------------------------------+------------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"57789" 57789]:
{{{
#!CommitTicketReference repository="" revision="57789"
Script loader: enable fetchpriority attribute in the
`wp_preload_resources` filter.
Add `fetchpriority` to the attributes accepted by the
`wp_preload_resources` filter. Developers can now use this filter to set
fetchpriority for resources being preloaded.
Props nihar007, luboslives, tabrisrp.
Fixes #58510.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58510#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list