[wp-trac] [WordPress Trac] #23816: wp_enqueue_script|style() dependency failures are silent

WordPress Trac noreply at wordpress.org
Thu Dec 3 17:43:16 UTC 2015


#23816: wp_enqueue_script|style() dependency failures are silent
------------------------------------+------------------------------
 Reporter:  johnbillion             |       Owner:  rmccue
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Script Loader           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-docs needs-patch  |     Focuses:
------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:  needs-docs has-patch needs-refresh => needs-docs needs-patch


Comment:

 Determining whether an asset actually has a missing dependency is not that
 straight forward. [https://github.com/johnbillion/query-
 monitor/blob/master/collectors/assets.php Query Monitor has a component
 which detects broken dependencies] and handles the header/footer situation
 that Ryan mentioned above.

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


More information about the wp-trac mailing list