Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960

git-svn-id: https://develop.svn.wordpress.org/trunk@6982 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-22 17:36:09 +00:00
parent 856d0f9f7a
commit da19acbc4b
2 changed files with 8 additions and 2 deletions

View File

@@ -275,6 +275,12 @@ if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) {
define('COOKIEHASH', $cookiehash);
}
/**
* Should be exactly the same as the default value of SECRET_KEY in wp-config-sample.php
* @since 2.5
*/
$wp_default_secret_key = 'put your unique phrase here';
/**
* It is possible to define this in wp-config.php
* @since 2.0.0