[wp-trac] [WordPress Trac] #14371: Allow user to specify error reporting level
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 21 16:17:56 UTC 2010
#14371: Allow user to specify error reporting level
------------------------------+---------------------------------------------
Reporter: wjm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.0
Severity: normal | Keywords: has-patch
------------------------------+---------------------------------------------
Comment(by wjm):
Replying to [comment:12 scribu]:
> As discussed on wp-hackers, if you don't want to see notices, just call
error_reporting() in wp-config.php instead of setting WP_DEBUG.
>
> No need to reinvent the wheel. Suggest closing as worksforme.
Scribu, that is what I thought too, but that is not what happens.
> you can set error_reporting() in your wp-config.php file, but it will be
overriden in load.php (called by wp-settings.php) by wp_debug_mode();
wp_debug_mode() will override whatever you set in wp-config.php .
that is what this patch tries to solve.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14371#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list