Opened 13 years ago
Last modified 7 years ago
#25666 new enhancement
Pass perpetrating $handle to enqueue_script's _doing_it_wrong() call
| Reported by: | bigdawggi | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | |
| Severity: | normal | Keywords: | needs-refresh |
| Cc: | Focuses: |
Description
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).
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
... site's plugins or theme that's causing the problem ...