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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 26 17:20:54 UTC 2010


#12041: wp-includes/wp-db.php WP_DEBUG constant
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Multisite     |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1194



 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://core.trac.wordpress.org/ticket/12041>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list