Changeset 2025 for trunk/bp-core/bp-core-activation.php
- Timestamp:
- 10/02/2009 10:07:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-activation.php
r1970 r2025 5 5 6 6 if ( BP_ACTIVATION_SLUG != $bp->current_component ) 7 return false; 8 9 /* If we are using a BuddyPress 1.0 theme ignore this. */ 10 if ( file_exists( WP_CONTENT_DIR . '/bp-themes' ) ) 7 11 return false; 8 12 … … 68 72 } 69 73 70 bp_core_load_template( 'registration/activate' ); 74 if ( '' != locate_template( array( 'registration/activate' ), false ) ) 75 bp_core_load_template( apply_filters( 'bp_core_template_activate', 'activate' ) ); 76 else 77 bp_core_load_template( apply_filters( 'bp_core_template_activate', 'registration/activate' ) ); 71 78 } 72 79 add_action( 'wp', 'bp_core_screen_activation', 3 );
Note: See TracChangeset
for help on using the changeset viewer.