[wp-trac] Re: [WordPress Trac] #6313: When you have a custom tag slug, it will duplicate tags

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 9 20:11:41 GMT 2008


#6313: When you have a custom tag slug, it will duplicate tags
-----------------------+----------------------------------------------------
 Reporter:  tai        |        Owner:  mtekk   
     Type:  defect     |       Status:  assigned
 Priority:  normal     |    Milestone:  2.6     
Component:  General    |      Version:  2.5     
 Severity:  normal     |   Resolution:          
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by Nazgul):

 A good way to prevent those kind of bug is to write

 {{{
 if ( 'constant' == $variable) ) {
 }}}

 This way PHP will complain if you forget an =.

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


More information about the wp-trac mailing list