Skip to:
Content

BuddyPress.org

Changeset 3666 for trunk/bp-core.php


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.php

    r3661 r3666  
    283283
    284284    return apply_filters( 'bp_core_get_page_names', $pages );
    285 }
    286 
    287 /**
    288  * If we're not on WordPress 3.1+, then include the file containing the user registration methods.
    289  *
    290  * @global float $wp_version WordPress version number
    291  * @since 1.3
    292  */
    293 function bp_core_maybe_include_user_registration_file() {
    294     global $wp_version;
    295 
    296     if ( $wp_version >= 3.1 )
    297         return;
    298 
    299     require_once( ABSPATH . WPINC . '/registration.php' );
    300285}
    301286
Note: See TracChangeset for help on using the changeset viewer.