Changeset 6478
- Timestamp:
- 12/24/2007 06:34:12 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-config-sample.php
r6471 r6478 10 10 // Change SECRET_KEY to a unique phrase. You won't have to remember it later, 11 11 // so make it long and complicated. You can visit https://www.grc.com/passwords.htm 12 // to get a phrase generated for you .13 define('SECRET_KEY', ' '); // Change this to a unique phrase.12 // to get a phrase generated for you, or just make something up. 13 define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 14 14 15 15 // You can have multiple installations in one database if you give each a unique prefix -
trunk/wp-includes/pluggable.php
r6471 r6478 701 701 function wp_salt() { 702 702 703 if ( defined('SECRET_KEY') && '' != SECRET_KEY ) 704 return SECRET_KEY; 705 706 $salt = get_option('secret'); 707 if ( empty($salt) ) { 708 $salt = wp_generate_password(); 709 update_option('secret', $salt); 710 } 711 712 return $salt; 703 $secret_key = ''; 704 if ( defined('SECRET_KEY') && ('' != SECRET_KEY) && ('put your unique phrase here' != SECRET_KEY) ) 705 $secret_key = SECRET_KEY; 706 707 if ( defined('SECRET_SALT') ) { 708 $salt = SECRET_SALT; 709 } else { 710 $salt = get_option('secret'); 711 if ( empty($salt) ) { 712 $salt = wp_generate_password(); 713 update_option('secret', $salt); 714 } 715 } 716 717 return apply_filters('salt', $salt); 713 718 } 714 719 endif;
Note: See TracChangeset
for help on using the changeset viewer.