[wp-trac] [WordPress Trac] #52842: No way to adjust attributes in wp_resource_hints()
WordPress Trac
noreply at wordpress.org
Mon May 31 15:39:09 UTC 2021
#52842: No way to adjust attributes in wp_resource_hints()
---------------------------+-----------------------------
Reporter: vanyukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Script Loader | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses: docs
---------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"51048" 51048]:
{{{
#!CommitTicketReference repository="" revision="51048"
Docs: Improve documentation for the `wp_resource_hints` filter.
Clarify that as of WordPress 4.7, the `$urls` parameter can accept arrays
of specific HTML attributes as its child elements, in addition to URLs.
Follow-up to [37920], [38826].
Props vanyukov, Rahmohn, desrosj, peterwilsoncc, SergeyBiryukov.
Fixes #52842.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52842#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list