Changes between Initial Version and Version 1 of Ticket #25247, comment 11
- Timestamp:
- 12/12/2014 05:28:54 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25247, comment 11
initial v1 1 I think the no src issue is a bit of a red herring. The real problem here is that the do_items() loop is removing an item from the to_do list whether or not it succeeded. An issue reported by helgatheviking on WP stackexchange ([http://wordpress.stackexchange.com/questions/168688/loading-a-script-with-a-dependency-is-unloading-another-scripts-dependency Loading a script with a dependency, is unloading another script's dependency] is another symptom of the problem, which can be seen simply with this setup:1 I think the no src issue is a bit of a red herring. The real problem here - as stated by the OP markoheijnen - is that the do_items() loop is removing an item from the to_do list whether or not it succeeded. An issue reported by helgatheviking on WP stackexchange ([http://wordpress.stackexchange.com/questions/168688/loading-a-script-with-a-dependency-is-unloading-another-scripts-dependency Loading a script with a dependency, is unloading another script's dependency] is another symptom of the problem, which can be seen simply with this setup: 2 2 {{{ 3 3 $scripts = new WP_Scripts;