[wp-trac] [WordPress Trac] #11090: Standardize checking for WP_DEBUG

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 6 19:03:30 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 hakre):

 the expression of {{{true == WP_DEBUG}}} is completely equal to the
 expression of {{{WP_DEBUG}}}.  To keep things simple, I would prefer the
 later one. Same applies to {{{false == WP_DEBUG}}} which is equal to
 {{{!WP_DEBUG}}}.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11090#comment:>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list