Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user