Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/28/2009 07:42:55 PM (16 years ago)
Author:
apeatling
Message:

Xprofile fixes - default option radio button on field creation. Disabling register page for logged in site admins as it causes problems. Datebox tweaks.

File:
1 edited

Legend:

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

    r1952 r1977  
    77        return false;
    88       
    9     /* If the user is logged in, and is not a site admin, redirect away from here */
    10     if ( is_user_logged_in() && !is_site_admin() )
     9    /* If the user is logged in, redirect away from here */
     10    if ( is_user_logged_in() )
    1111        bp_core_redirect( $bp->root_domain );
    1212   
     
    210210    if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php') )
    211211        return false;
    212        
     212
    213213    if ( '' != locate_template( array( 'registration/register.php' ), false ) || '' != locate_template( array( 'register.php' ), false ) )
    214214        die;
Note: See TracChangeset for help on using the changeset viewer.