[theme-reviewers] error suppression
Chip Bennett
chip at chipbennett.net
Mon Feb 13 14:24:02 UTC 2012
Suppressing printing of errors/notices is not a sufficient substitution for
eliminating those errors/notices. The guidelines require that Themes be
free of PHP notices/errors/warnings, whether those notices/errors/warnings
are printed or not.
Chip
On Mon, Feb 13, 2012 at 8:13 AM, Kirk Wight <kwight at kwight.ca> wrote:
> Do we make any allowances for Debug Bar errors if error suppression has
> been implemented for the errors in question?
>
> In this theme (https://themes.trac.wordpress.org/ticket/6095), Debug Bar
> will throw an error, even though error suppression has been used to account
> for E_NOTICE and E_WARNING notices. Without knowing anything about coding
> with error suppression, it feels odd to me (I guess I see submitted themes
> using it to get around errors, rather than dealing with them, but I don't
> think that's the situation in this case).
>
> What do people think?
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120213/d570c3be/attachment-0001.htm>
More information about the theme-reviewers
mailing list