Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/05/2011 10:27:07 PM (11 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-signup.php

    r3637 r3661  
    3636        check_admin_referer( 'bp_new_signup' );
    3737
    38         require_once( ABSPATH . WPINC . '/registration.php' );
     38        bp_core_maybe_include_user_registration_file();
    3939
    4040        /* Check the base account details for problems */
     
    218218    if ( isset( $_GET['key'] ) ) {
    219219
    220         require_once( ABSPATH . WPINC . '/registration.php' );
     220        bp_core_maybe_include_user_registration_file();
    221221
    222222        /* Activate the signup */
Note: See TracChangeset for help on using the changeset viewer.