Scripts: Remove an incorrect parameter sent to `wp_get_script_polyfill()`.

`wp_get_script_polyfill()` only accepts two parameters, but this call was passing a third.

Props swissspidy.
See #45472.


Built from https://develop.svn.wordpress.org/branches/5.0@44208


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-12-15 11:19:10 +00:00
parent 71044010f8
commit d1a1778fa1
2 changed files with 2 additions and 3 deletions

View File

@ -124,8 +124,7 @@ function wp_default_packages_vendor( &$scripts ) {
'document.contains' => 'wp-polyfill-node-contains',
'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata',
'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest',
),
'after'
)
)
);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0.2-alpha-44206';
$wp_version = '5.0.2-alpha-44208';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.