Changeset 2068
- Timestamp:
- 11/01/2009 09:11:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-signup.php
r2065 r2068 209 209 return false; 210 210 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 ); 213 213 } 214 214 add_action( 'signup_header', 'bp_core_wpsignup_redirect' ); 215 215 216 217 218 219 216 ?>
Note: See TracChangeset
for help on using the changeset viewer.