[wp-trac] [WordPress Trac] #37652: Protocol-relative preconnects are broken
WordPress Trac
noreply at wordpress.org
Sat Aug 13 09:07:34 UTC 2016
#37652: Protocol-relative preconnects are broken
--------------------------------------+--------------------------
Reporter: neoxx | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Changes (by peterwilsoncc):
* milestone: Awaiting Review => 4.6
Comment:
Replying to [comment:3 swissspidy]:
> Thanks a bunch for the snippet. [attachment:37652.diff] should fix this.
The `//` prefix can go on the else, the code is nested so only runs on
preconnect & dns-prefetch.
I'll upload what I had for the sake of completeness momentarily.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37652#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list