Skip to:
Content

Changeset 2068


Ignore:
Timestamp:
11/01/09 09:11:07 (4 years ago)
Author:
johnjamesjacoby
Message:

Fixes #1252, Fixes #1296, Fixes #1292, Fixes #1103

File:
1 edited

Legend:

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

    r2065 r2068  
    209209        return false; 
    210210 
    211     if ( '' != locate_template( array( 'registration/register.php' ), false ) || '' != locate_template( array( 'register.php' ), false ) ) 
    212         die; 
     211    if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) ) 
     212         wp_redirect( bp_root_domain() . BP_REGISTER_SLUG ); 
    213213} 
    214214add_action( 'signup_header', 'bp_core_wpsignup_redirect' ); 
    215215 
    216  
    217  
    218  
    219216?> 
Note: See TracChangeset for help on using the changeset viewer.