Twenty Seventeen: Use `wp_register_script()` to register HTML5 Shiv script.
This replaces `wp_register_style()` with `wp_register_script()`. Props sabernhardt. Fixes #56699. Built from https://develop.svn.wordpress.org/trunk@56188 git-svn-id: http://core.svn.wordpress.org/trunk@55700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
402ce56400
commit
9240a9350d
|
@ -473,7 +473,7 @@ function twentyseventeen_scripts() {
|
|||
wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' );
|
||||
|
||||
// Register the html5 shiv.
|
||||
wp_register_style( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' );
|
||||
wp_register_script( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' );
|
||||
wp_script_add_data( 'html5', 'conditional', 'lt IE 9' );
|
||||
|
||||
// Skip-link fix is no longer enqueued by default.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-beta3-56187';
|
||||
$wp_version = '6.3-beta3-56188';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue