Ticket #5367: secret_key.diff
| File secret_key.diff, 1.0 kB (added by ryan, 7 months ago) |
|---|
-
wp-includes/pluggable.php
old new 697 697 if ( empty($salt) ) 698 698 $salt = DB_PASSWORD . DB_USER . DB_NAME . DB_HOST . ABSPATH; 699 699 700 return $salt; 700 if ( ! defined('SECRET_KEY') ) 701 $secret_key = 'shhhh'; 702 else 703 $secret_key = SECRET_KEY; 704 705 return $salt . $secret_key; 701 706 } 702 707 endif; 703 708 -
wp-config-sample.php
old new 6 6 define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value 7 7 define('DB_CHARSET', 'utf8'); 8 8 define('DB_COLLATE', ''); 9 define('SECRET_KEY', 'shhhh'); // Change this to something unique 9 10 10 11 // You can have multiple installations in one database if you give each a unique prefix 11 12 $table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
