mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 12:12:41 +02:00
`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`. Merge of [38255] to the 4.6 branch. Props swissspidy, peterwilsoncc. Props azaozz for review. See #37652. git-svn-id: https://develop.svn.wordpress.org/branches/4.6@38256 602fd350-edb4-49c9-b593-d223f7449a82