[wp-trac] [WordPress Trac] #22203: WP_DEBUG - class wpdb prints errors while WP_DEBUG_DISPLAY is set to false
WordPress Trac
noreply at wordpress.org
Wed Apr 3 15:26:23 UTC 2013
#22203: WP_DEBUG - class wpdb prints errors while WP_DEBUG_DISPLAY is set to false
----------------------------+------------------------------
Reporter: storkontheroof | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 2.9
Severity: critical | Resolution:
Keywords: |
----------------------------+------------------------------
Comment (by cheeserolls):
Should be:
if ( WP_DEBUG && WP_DEBUG_DISPLAY )
$this->show_errors();
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22203#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list