Skip to:
Content

BuddyPress.org

Changeset 8553


Ignore:
Timestamp:
06/28/2014 05:08:36 PM (12 years ago)
Author:
djpaul
Message:

Core: change bp_disable_profile_sync()'s default value to false.

The default value is only used if the site is somehow missing the bp-disable-profile-sync option
in the database. The default value for the bp-disable-profile-sync option is false, so having the
function default to disabling profile sync if the option is missing is inconsistent.

Fixes #5725

File:
1 edited

Legend:

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

    r8199 r8553  
    437437 * @return bool True if profile sync is enabled, otherwise false.
    438438 */
    439 function bp_disable_profile_sync( $default = true ) {
     439function bp_disable_profile_sync( $default = false ) {
    440440    return (bool) apply_filters( 'bp_disable_profile_sync', (bool) bp_get_option( 'bp-disable-profile-sync', $default ) );
    441441}
Note: See TracChangeset for help on using the changeset viewer.