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:
Jeremy Felt 2016-08-31 17:26:31 +00:00
parent 575e4ef0db
commit d6980d1c0d
2 changed files with 2 additions and 2 deletions

View File

@ -2853,7 +2853,7 @@ function wp_resource_hints() {
$urls = array_unique( $urls );
foreach ( $urls as $url ) {
printf( "<link rel='%s' href='%s'>\n", $relation_type, $url );
printf( "<link rel='%s' href='%s' />\n", $relation_type, $url );
}
}
}

View File

@ -4,7 +4,7 @@
*
* @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.