[wp-trac] [WordPress Trac] #45506: wp_register_tinymce_scripts() provides incorrect arguments to includes_url()
WordPress Trac
noreply at wordpress.org
Tue Dec 18 23:01:19 UTC 2018
#45506: wp_register_tinymce_scripts() provides incorrect arguments to
includes_url()
---------------------------------+----------------------
Reporter: volodymyrkolesnykov | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.2
Component: Script Loader | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: fixed-5.0 has-patch | Focuses:
---------------------------------+----------------------
Changes (by desrosj):
* status: reopened => 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/45506#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list