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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 29 18:27:45 UTC 2010


#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:      
--------------------------+-------------------------------------------------

Comment(by nacin):

 In reviewing #12081 I noticed this ticket.

 I'm not sure of the ramifications of preventing it from being changed (or
 allowing it to be changed), but converting it to a constant will break any
 plugins that override wp_salt() and utilize the variable.

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


More information about the wp-trac mailing list