Script Loader: Fix metadata being registered as an inline script.
[43723] included script metadata for the `wp-polyfill` script that was being registered as an inline script. See #45065. Built from https://develop.svn.wordpress.org/branches/5.0@43802 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f6366c297f
commit
86484c93cc
|
@ -102,7 +102,7 @@ function wp_default_packages_vendor( &$scripts ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$scripts->add( 'wp-polyfill', null, array( 'wp-polyfill-ecmascript' ) );
|
$scripts->add( 'wp-polyfill', null, array( 'wp-polyfill-ecmascript' ) );
|
||||||
did_action( 'init' ) && $scripts->add_inline_script(
|
did_action( 'init' ) && $scripts->add_data(
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
'data',
|
'data',
|
||||||
wp_get_script_polyfill(
|
wp_get_script_polyfill(
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43801';
|
$wp_version = '5.0-alpha-43802';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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