[wp-trac] [WordPress Trac] #62503: Add speculative loading support
WordPress Trac
noreply at wordpress.org
Sun Nov 23 05:06:36 UTC 2025
#62503: Add speculative loading support
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: feature request | Status: closed
Priority: high | Milestone: 6.8
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has-dev- | Focuses:
note | performance
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"61280" 61280]:
{{{
#!CommitTicketReference repository="" revision="61280"
Docs: Fix phpdoc types for `WP_Speculation_Rules` members.
What was previously `mixed` is actually a speculation rule which can be
more accurately be typed as `array<string, mixed>`. Additionally, the
return value of `jsonSerialize` is fixed to indicate it returns an array
of lists as opposed an array of associative arrays.
Developed in https://github.com/WordPress/wordpress-develop/pull/8946
Follow-up to [59837].
Props justlevine, johnbillion, westonruter.
See #64238, #63268, #62503.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62503#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list