[wp-trac] Re: [WordPress Trac] #5473: Suppress DB errors unless
WP_DEBUG is true
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 16 00:44:47 GMT 2007
#5473: Suppress DB errors unless WP_DEBUG is true
---------------------------------------+------------------------------------
Reporter: filosofo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version: 2.4
Severity: normal | Resolution:
Keywords: show_errors wpdb db mysql |
---------------------------------------+------------------------------------
Comment (by Viper007Bond):
Not sure how I feel about this. Spitting out error messages told a lot of
people their plugins didn't work with 2.3 and is a useful thing for site
owners. With them hidden, it'd go missed by most and they wouldn't know
why something wasn't working.
Perhaps an alternate solution is to show them to administrator users
regardless (`manage_options` ?), and only to everyone if WP_DEBUG is on.
--
Ticket URL: <http://trac.wordpress.org/ticket/5473#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list