[wp-trac] [WordPress Trac] #25666: Pass perpetrating $handle to enqueue_script's _doing_it_wrong() call

WordPress Trac noreply at wordpress.org
Thu Jun 19 21:05:30 UTC 2014


#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:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by jdgrimes):

 While this would be helpful, you can get this information and more by
 hooking into `doing_it_wrong_run` and logging the stack trace.

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


More information about the wp-trac mailing list