[wp-hackers] DEBUG config and blocking notices

Andrew Nacin wp at andrewnacin.com
Mon Jul 19 19:02:18 UTC 2010


On Mon, Jul 19, 2010 at 2:56 PM, Jeremy Clarke <jer at simianuprising.com>
 wrote:

> If you don't want notices then you shouldn't be using WP_DEBUG.


But you should want notices. Just saying.

Speficially, running WP_DEBUG is pretty much mandatory for any core
> development

because all the core devs have it turned on


Also true.

Writing your own code to not generate notices is easy and good for business

in all kinds of ways. The process of declaring/checking your variables

before use leads you to avoid a lot of mysterious and rare bugs down the

line, and helps you clean up your code in the process.


+1000.


More information about the wp-hackers mailing list