Make WordPress Core


Ignore:
Timestamp:
01/27/2012 06:52:20 PM (12 years ago)
Author:
nacin
Message:

Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-constants.php

    r19712 r19771  
    141141 */
    142142function wp_cookie_constants( ) {
    143     global $wp_default_secret_key;
    144 
    145143    /**
    146144     * Used to guarantee unique hash cookies
     
    156154
    157155    /**
    158      * Should be exactly the same as the default value of SECRET_KEY in wp-config-sample.php
    159      * @since 2.5.0
    160      */
    161     $wp_default_secret_key = 'put your unique phrase here';
    162 
    163     /**
    164156     * @since 2.0.0
    165157     */
Note: See TracChangeset for help on using the changeset viewer.