[wp-trac] [WordPress Trac] #36448: When concatenating scripts in script-loader dependencies may not be honoured.

WordPress Trac noreply at wordpress.org
Fri Apr 8 09:58:06 UTC 2016


#36448: When concatenating scripts in script-loader dependencies may not be
honoured.
---------------------------+------------------------------
 Reporter:  gitlost        |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  4.4.2
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by gitlost):

 The above patch is version 3 (see #36392 "batch" patches) of a way around
 this, that puts the concatenate data into batches ordered by dependency,
 and then outputs each batch in order.

 It includes all the previous tests plus some extra.

 It also includes the `jquery-core` tests by @jeremyfelt
 ([https://core.trac.wordpress.org/ticket/36392#comment:19
 36392#comment:19]), for which this version of the batching has been
 changed to pass, and shows that my
 [https://core.trac.wordpress.org/ticket/36392#comment:14 36392#comment:14]
 re being unwanted behaviour was false.

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


More information about the wp-trac mailing list