[wp-trac] [WordPress Trac] #13657: When WP_DEBUG is true show better errors for establishing database connection
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 21 05:29:20 UTC 2010
#13657: When WP_DEBUG is true show better errors for establishing database
connection
-------------------------+--------------------------------------------------
Reporter: sivel | Owner: ryan
Type: enhancement | Status: new
Priority: low | Milestone: 3.1
Component: Database | Version:
Severity: trivial | Keywords: has-patch early
-------------------------+--------------------------------------------------
Comment(by nacin):
I would tend to think we should not be exposing the output of
mysql_error() on any site. Or, if we do, then we at least also check for
display_errors/WP_DEBUG_DISPLAY, in case they want WP_DEBUG (as can be
common in production) but are logging it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13657#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list