Pass perpetrating $handle to enqueue_script's _doing_it_wrong() call
|Reported by:||bigdawggi||Owned by:|
So the debug message for enqueueing resources at the proper time is helpful, but finding out which one of a site's plugins or theme can be a tedious task. I suggest we pass the $handle that triggered the warning to the output, so we know exactly where to look (since it references back to wp-includes/functions.php).
Change History (7)
comment:5 @wonderboymusic — 6 months ago
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to 4.2