Skip to:
Content

bbPress.org

Changeset 2776


Ignore:
Timestamp:
01/07/2011 11:20:43 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Better user edit and registration file inclusion checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-functions.php

    r2775 r2776  
    18161816
    18171817            // Load the required user editing functions
    1818             if ( version_compare( $wp_version, '3.1', '<=' ) )
     1818            if ( !function_exists( '_wp_get_user_contactmethods' ) )
    18191819                include_once( ABSPATH . 'wp-includes/registration.php' );
    18201820
    1821             require_once( ABSPATH . 'wp-admin/includes/user.php' );
     1821            if ( !function_exists( 'edit_user' ) )
     1822                require_once( ABSPATH . 'wp-admin/includes/user.php' );
    18221823
    18231824        } else {
Note: See TracChangeset for help on using the changeset viewer.