[wpmu-trac] [WordPress MU Trac] #1194: wp-includes/wp-db.php WP_DEBUG constant

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Jan 15 13:41:03 UTC 2010


#1194: wp-includes/wp-db.php  WP_DEBUG constant
----------------------------+-----------------------------------------------
 Reporter:  davidbroderick  |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:  2.9     
Component:  component1      |     Version:  2.9     
 Severity:  normal          |    Keywords:  debug   
----------------------------+-----------------------------------------------

Comment(by nacin):

 The logic was changed as WP_DEBUG will now always be defined in wp-
 settings.php, so we no longer need to check {{{defined('WP_DEBUG')}}} all
 over the place.

 That said, it did cause a few problems. setup-config.php will die thanks
 to this line in wp-db.php, but only when {{{error_reporting(0);}}} is
 changed. So without the core hack to turn on error reporting, this ticket
 seems invalid.

 We're working on refactoring wp-settings.php into wp-settings.php, wp-
 includes/load.php, and default-constants.php:
 http://core.trac.wordpress.org/ticket/11881

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1194#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list