[wp-hackers] PHP notice warnings
blogger at steffensenfamily.com
Thu Sep 20 13:22:29 GMT 2007
I just turn them all on on my dev box.
That way if a user has two plugins that are conflicting mildly and would
throw a warning but not break their site, they don't get a bunch of php text
at the top of their page.
On 9/20/07, Omry Yadan <omry at yadan.net> wrote:
> WordPress hide PHP notices by default:
> from wp-settings.php:
> // Change to E_ALL for development/debugging
> error_reporting(E_ALL ^ E_NOTICE);
> This promotes writing of bad code both in the core and in plugins.
> I understand that turning notices back on will break a lot of plugins,
> but maybe it's worth doing this for the next major version.
> having notice turned on helps to catch a lot of problems early in the
> development, and will actually help plugin authors write better plugins
> what do you guys think?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers