Skip to:
Content

BuddyPress.org

Changeset 10949


Ignore:
Timestamp:
07/20/2016 06:12:41 PM (9 years ago)
Author:
djpaul
Message:

Revert r10945

Didn't work. See r10941.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-options.php

    r10945 r10949  
    1919 */
    2020function bp_get_default_options() {
    21     static $email_unsubscribe_salt = null;
    22 
    23     // Only generate this once to prevent loops in wp_rand() on WP < 4.4.
    24     if ( $email_unsubscribe_salt === null ) {
    25         $email_unsubscribe_salt = base64_encode( wp_generate_password( 64, true, true ) );
    26     }
    2721
    2822    // Default options.
     
    8175
    8276        // Email unsubscribe salt.
    83         'bp-emails-unsubscribe-salt'           => $email_unsubscribe_salt,
     77        'bp-emails-unsubscribe-salt'           => base64_encode( wp_generate_password( 64, true, true ) ),
    8478
    8579        /* Groups ************************************************************/
Note: See TracChangeset for help on using the changeset viewer.