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

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 21:13:46 UTC 2010


#12041: wp-includes/wp-db.php WP_DEBUG constant
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |        Owner:            
     Type:  defect (bug)  |       Status:  reopened  
 Priority:  normal        |    Milestone:  Unassigned
Component:  Multisite     |      Version:  2.9.1     
 Severity:  normal        |   Resolution:            
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by dxjones):

 * cc: dxjones (added)
  * status:  closed => reopened
  * version:  => 2.9.1
  * resolution:  invalid =>


Comment:

 No, I think you are wrong wpmuguru.

 In 2.9.1, the code tries to access WP_DEBUG without checking whether it is
 defined.
 Since it is *not* defined, ... it fails with this error message:

 Notice: Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' in
 /.../html/wp-includes/wp-db.php  on line 370

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


More information about the wp-trac mailing list