[wp-trac] [WordPress Trac] #36392: wp_add_inline_script() breaks script dependency order when using script loader (no SCRIPT_DEBUG)

WordPress Trac noreply at wordpress.org
Fri Apr 8 18:32:07 UTC 2016


#36392: wp_add_inline_script() breaks script dependency order when using script
loader (no SCRIPT_DEBUG)
--------------------------------------+-------------------------
 Reporter:  westonruter               |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  assigned
 Priority:  high                      |   Milestone:  4.5
Component:  Script Loader             |     Version:  trunk
 Severity:  major                     |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+-------------------------

Comment (by jeremyfelt):

 Replying to [comment:21 azaozz]:
 > If we *must* have "right before" and right after" scripts, thinking the
 only "sane" way would be to disable concatenating when they are used.

 I think this make sense as a sane expectation.

 > Also, looking forward to the time we stop concatenating scripts and
 stylesheets because of HTTP/2 :)

 Big +1 :)

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


More information about the wp-trac mailing list