[wp-trac] [WordPress Trac] #11090: Standardize checking for WP_DEBUG
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 6 19:12:10 UTC 2009
#11090: Standardize checking for WP_DEBUG
------------------------------+---------------------------------------------
Reporter: nacin | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Warnings/Notices | Version: 2.9
Severity: normal | Keywords:
------------------------------+---------------------------------------------
Comment(by scribu):
Consider the case where WP_DEBUG is not defined at all:
{{{var_dump(true == WP_DEBUG); // Result: bool(true)}}}
I vote for '==='.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11090#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list