[wp-trac] [WordPress Trac] #25666: Pass perpetrating $handle to enqueue_script's _doing_it_wrong() call
WordPress Trac
noreply at wordpress.org
Tue Oct 22 21:15:03 UTC 2013
#25666: Pass perpetrating $handle to enqueue_script's _doing_it_wrong() call
-------------------------+-----------------------------
Reporter: bigdawggi | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
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).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25666>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list