WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#5960 closed defect (bug) (fixed)

Duplicate default SECRET_KEY in a variable, so that it can be overriden by localized versions

Reported by: nbachiyski Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: I18N Keywords: i18n has-patch
Focuses: Cc:

Description

Reproduce steps:

  1. Use localized version with modified wp-config-sample.php, in which the phrase 'put your unique phrase here' is translated.
  2. Check to see what is your $secret_key

Current: your secret key would be the translated version, and it will be used by many many other users

Desirable: the default value, used in wp-config-sample.php can be set also in a variable, so that localizations can override it with their default value.

Attachments (1)

secret-key-default.diff (1.0 KB) - added by nbachiyski 8 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 @ryan8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6982]) Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960

Note: See TracTickets for help on using tickets.