[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
Sun Apr 3 22:07:01 UTC 2016


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

 * keywords:  has-unit-tests needs-patch => has-unit-tests has-patch


Comment:

 @westonruter Did you miss to define a dependency in
 https://gist.github.com/westonruter/c8968edc125fd31ae2da4171ced8c62b#file-
 script-loader-test-case-php-L10?

 [attachment:36392.2.patch] fixes the unit test but not sure if it fixes
 your issue too.

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


More information about the wp-trac mailing list