[wp-trac] [WordPress Trac] #45472: Incorrect wp_get_script_polyfill() call in script loader
WordPress Trac
noreply at wordpress.org
Tue Dec 18 23:01:19 UTC 2018
#45472: Incorrect wp_get_script_polyfill() call in script loader
---------------------------------+----------------------
Reporter: swissspidy | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.2
Component: Script Loader | Version: 5.0
Severity: minor | Resolution: fixed
Keywords: has-patch fixed-5.0 | Focuses:
---------------------------------+----------------------
Changes (by desrosj):
* owner: (none) => desrosj
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"44308" 44308]:
{{{
#!CommitTicketReference repository="" revision="44308"
Script Loader: Misplaced parenthesis when `wp-tinymce-lists` is added.
A closing parenthesis was misplaced in the `$scripts->add( 'wp-tinymce-
lists' )` call, causing the dependencies and version to be incorrectly
passed to `includes_url()` instead.
Also, 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 volodymyrkolesnykov, swissspidy.
Merges [44208] and [44211] into trunk.
Fixes: #45506, #45472.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45472#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list