[wp-hackers] PHP notice warnings
omry at yadan.net
Thu Sep 20 12:14:21 GMT 2007
WordPress hide PHP notices by default:
// 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?
More information about the wp-hackers