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

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Jan 14 19:09:01 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   
----------------------------+-----------------------------------------------
 The use of WP_DEBUG constant changed from 2.8.6 to 2.9.x, which has caused
 a consistent new install problem.  A new install for me dies because of
 this.

 In 2.8.6 the code was:

 if ( defined('WP_DEBUG') and WP_DEBUG == true )
    $this->show_errors();

 In 2.9.1 it is:

 if ( WP_DEBUG )
    $this->show_errors();

 Can this be fixed so new installs work?

 Thank you,
 David

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


More information about the wpmu-trac mailing list