[wp-trac] [WordPress Trac] #4928: $locale var may be set but false

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 7 11:07:24 GMT 2007


#4928: $locale var may be set but false
--------------------+-------------------------------------------------------
 Reporter:  ashnur  |       Owner:  anonymous 
     Type:  defect  |      Status:  new       
 Priority:  normal  |   Milestone:  2.4 (next)
Component:  i18n    |     Version:            
 Severity:  minor   |    Keywords:            
--------------------+-------------------------------------------------------
 in wp-includes/l10n.php line nr 5.

 {{{
 if (isset($locale))
 }}}

 should be

 {{{
 if (isset($locale) && $locale)
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4928>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list