Scripts: Ensure sub-directory WordPress installs can load polyfill scripts.

`wp_get_script_polyfill()` bypasses `WP_Scripts::do_item()`, so didn't transform the script path into its fully qualified URL.

Props swissspidy, ocean90.
Merges [43960] to trunk.
Fixes #45469.
Built from https://develop.svn.wordpress.org/trunk@44286


git-svn-id: http://core.svn.wordpress.org/trunk@44116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2018-12-18 04:05:48 +00:00
parent 7b4a2c9827
commit 985bed281c
2 changed files with 20 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44285';
$wp_version = '5.1-alpha-44286';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.