Script Loader: Close the `<link>` tag in `wp_resource_hints()`.
Adjusts tests to match markup change. Merge of [38443] and [38447] to the 4.6 branch. Props Chaos Engine, SergeyBiryukov, swissspidy. Fixes #37800. Built from https://develop.svn.wordpress.org/branches/4.6@38473 git-svn-id: http://core.svn.wordpress.org/branches/4.6@38414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
575e4ef0db
commit
d6980d1c0d
|
@ -2853,7 +2853,7 @@ function wp_resource_hints() {
|
||||||
$urls = array_unique( $urls );
|
$urls = array_unique( $urls );
|
||||||
|
|
||||||
foreach ( $urls as $url ) {
|
foreach ( $urls as $url ) {
|
||||||
printf( "<link rel='%s' href='%s'>\n", $relation_type, $url );
|
printf( "<link rel='%s' href='%s' />\n", $relation_type, $url );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6.1-alpha-38472';
|
$wp_version = '4.6.1-alpha-38473';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue