Script Loader: Close the <link>
tag in wp_resource_hints()
.
Props Chaos Engine. Fixes #37800 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@38443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7fc579eec9
commit
bf41a5dc23
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user