[wp-trac] [WordPress Trac] #9639: Error Reporting for Wp-load.php overrides E_DEPRECATED too late

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 24 18:09:36 GMT 2009


#9639: Error Reporting for Wp-load.php overrides E_DEPRECATED too late
------------------------------+---------------------------------------------
 Reporter:  jacobsantos       |       Owner:                  
     Type:  enhancement       |      Status:  new             
 Priority:  low               |   Milestone:  2.8             
Component:  Warnings/Notices  |     Version:  2.7             
 Severity:  minor             |    Keywords:  has-patch tested
------------------------------+---------------------------------------------
 There is a problem with the wp-load.php for the administration where the
 bootstrap is not setting the {{{E_DEPRECATED}}} and thus you get some
 notices about deprecation before wp-settings.php overrides the error
 reporting and stops it any further.

 This is a strange error and might have to be with RC2-dev PHP version of
 PHP5.3.0. However, I am sending it here, just in case it is run-time
 verses compile-time settings (does not appear to be since moving the
 {{{E_DEPRECATED}}} outside the if branch, does not remove the warnings.

 The strange-ness of the notices is that the notices are in wp-settings.php
 lines 520+, whereas the error reporting is set in lines 220. There
 shouldn't be any notices displayed since the error reporting in lines 220
 should prevent the notices from showing in 520.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9639>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list