[wp-trac] [WordPress Trac] #20513: Refactor $wp_scripts init checking code

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 22 23:39:52 UTC 2012


#20513: Refactor $wp_scripts init checking code
-------------------------------------+------------------------------
 Reporter:  GaryJ                    |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by azaozz):

 Think I attempted to do something similar for 3.2 (or was it 3.3). The
 argument against it is that this breaks the backtrace so if a plugin
 author calls any of these functions too early _doing_it_wrong() would show
 the wrong reference.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20513#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list