Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/06/2011 03:17:09 PM (15 years ago)
Author:
boonebgorges
Message:

Refactors registration.php requires so they don't require an additional function. Fixes #2997. Props nacin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-settings.php

    r3661 r3666  
    5252        check_admin_referer('bp_settings_general');
    5353
    54         bp_core_maybe_include_user_registration_file();
     54        if ( ! function_exists( 'email_exists' ) )
     55            require_once( ABSPATH . WPINC . '/registration.php' );
    5556
    5657        // Form has been submitted and nonce checks out, lets do it.
Note: See TracChangeset for help on using the changeset viewer.