[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
Mon Apr 4 21:13:37 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 needs-patch  |     Focuses:
----------------------------------------+--------------------
Changes (by ocean90):

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


Comment:

 Added another test
 `test_wp_add_inline_script_before_concat_with_core_dependency()` which is
 also failing with my patch.

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


More information about the wp-trac mailing list