[wp-trac] [WordPress Trac] #45506: wp_register_tinymce_scripts() provides incorrect arguments to includes_url()

WordPress Trac noreply at wordpress.org
Sat Dec 15 17:26:41 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:  has-patch commit     |     Focuses:
---------------------------------+----------------------
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44211" 44211]:
 {{{
 #!CommitTicketReference repository="" revision="44211"
 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.

 Props volodymyrkolesnykov.
 Fixes: #45506.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45506#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list