[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:33:09 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:
--------------------------------------+--------------------

Comment (by westonruter):

 @ocean90 you're absolutely right. I neglected to include the dependency
 when registering. Nevertheless, when adding the dependency the issue was
 incidentally still present. But, when I applied [attachment:36392.2.patch]
 then the order gets fixed! :+1:

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


More information about the wp-trac mailing list