Make WordPress Core


Ignore:
Timestamp:
05/02/2012 07:29:39 PM (13 years ago)
Author:
nacin
Message:

Remove $wp_secret_key_default.

With the duplicate key checks, this is isn't necessary. It could also cause problems when you
temporarily update to an English translation of a new version before going back to the locale.

see #19599.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r20563 r20691  
    13261326 */
    13271327function wp_salt( $scheme = 'auth' ) {
    1328     global $wp_secret_key_default; // This is set for localized builds for versions > 3.4.0.
    1329 
    13301328    static $cached_salts = array();
    13311329    if ( isset( $cached_salts[ $scheme ] ) )
     
    13431341            }
    13441342        }
    1345         if ( ! empty( $wp_secret_key_default ) )
    1346             $duplicated_keys[ $wp_secret_key_default ] = true;
    13471343    }
    13481344
Note: See TracChangeset for help on using the changeset viewer.