Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/05/2011 10:27:07 PM (14 years ago)
Author:
djpaul
Message:

Don't include wp-includes/registration.php if on WordPress 3.1. Fixes #2997

File:
1 edited

Legend:

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

    r3620 r3661  
    5252        check_admin_referer('bp_settings_general');
    5353
    54         require_once( ABSPATH . WPINC . '/registration.php' );
     54        bp_core_maybe_include_user_registration_file();
    5555
    5656        // Form has been submitted and nonce checks out, lets do it.
Note: See TracChangeset for help on using the changeset viewer.