[wp-trac] [WordPress Trac] #37652: Protocol-relative preconnects are broken
WordPress Trac
noreply at wordpress.org
Sat Aug 13 18:34:14 UTC 2016
#37652: Protocol-relative preconnects are broken
---------------------------------------------+--------------------------
Reporter: neoxx | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Script Loader | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: performance
---------------------------------------------+--------------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38255"]:
{{{
#!CommitTicketReference repository="" revision="38255"
Script Loader: Fix protocol-relative URLs for the `preconnect` relation
type.
`wp_resource_hints()` parses the URL for the `preconnect` and `dns-
prefetch` relation types to ensure correct values for both. While
protocol-relative URLs are supported for `dns-prefetch`, the double slash
was lost for `preconnect`.
Props swissspidy, peterwilsoncc.
Props azaozz for review.
Fixes #37652.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37652#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list