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-blogs/bp-blogs-templatetags.php

    r3635 r3661  
    326326    global $bp;
    327327
    328     require_once( ABSPATH . WPINC . '/registration.php' );
     328    bp_core_maybe_include_user_registration_file();
    329329
    330330    if ( isset($_POST['submit']) ) {
Note: See TracChangeset for help on using the changeset viewer.