[wp-trac] [WordPress Trac] #20731: Add early hooks for unit testing (was: Split wp-settings.php in two)

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 29 20:59:33 UTC 2012


#20731: Add early hooks for unit testing
--------------------------+------------------
 Reporter:  scribu        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------

Comment (by scribu):

 In IRC today I learned that SHORTINIT is rather arbitrary and will be
 deprecated eventually.

 The alternative nacin suggested was to populate $wp_filter before loading
 WP.

 This would require removing the `unset( $wp_filter );` line in wp-
 settings.php

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


More information about the wp-trac mailing list