Skip to:
Content

BuddyPress.org

Changeset 1671


Ignore:
Timestamp:
08/14/2009 07:40:27 PM (15 years ago)
Author:
apeatling
Message:

Switching backwards compat check.

File:
1 edited

Legend:

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

    r1655 r1671  
    99    /***
    1010     * For backwards compatibility with the old pre 1.1 two theme system, skip this screen function
    11      * if the user is using the old two theme method. We can check if function 'wp_insert_user'
    12      * exists because the old method would already have included that function's file at this point.
     11     * if the user is using the old two theme method.
    1312     */
    14     if ( function_exists('wp_insert_user') )
     13    if ( file_exists( WP_CONTENT_DIR . '/bp-themes' ) )
    1514        return false;
    1615
Note: See TracChangeset for help on using the changeset viewer.