[wp-trac] [WordPress Trac] #19599: Localizations should not need to worry about the default secret key

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 19 03:43:42 UTC 2011


#19599: Localizations should not need to worry about the default secret key
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.4
Component:  I18N            |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 We could check if the same (non-empty) value is used for more than two
 secret keys and assume it's `$wp_default_secret_key` then.

 [attachment:19599.patch] is an attempt to implement this.

 [attachment:19599.2.patch] goes a bit further and cleans up repeated
 `defined()` and `'' != ...` checks.

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


More information about the wp-trac mailing list