[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
Wed Apr 6 21:05:57 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 needs-patch | Focuses:
----------------------------------------+-------------------------
Comment (by gitlost):
The test `test_wp_add_inline_script_before_concat_with_core_dependency()`
can be made to work if it's acceptable to not concatenate when there's
before inline script, the same as when there's after inline script, and
losing the `$print_html_before` stuff and just using `$print_html`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36392#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list