[wp-trac] [WordPress Trac] #11664: Constant instead of a variable should be used

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 19:16:08 UTC 2009


#11664: Constant instead of a variable should be used
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  3.0 
Component:  Security      |     Version:  2.9 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------
 the global variable $wp_default_secret_key is used to determine wether the
 has provided secret keys or not.

 to not get it altered between it's definition and use, the variable should
 be replaced with a constant.

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


More information about the wp-trac mailing list