Changeset 13763 for trunk/src/bp-members/screens/activate.php
- Timestamp:
- 03/09/2024 10:59:45 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-members/screens/activate.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/screens/activate.php
r13436 r13763 12 12 * 13 13 * @since 1.1.0 14 * 15 * @return void 14 16 */ 15 17 function bp_core_screen_activation() { … … 17 19 // Bail if not viewing the activation page. 18 20 if ( ! bp_is_current_component( 'activate' ) ) { 19 return false;21 return; 20 22 } 21 23 … … 53 55 * @since 1.1.1 54 56 * 55 * @param string $value Path to theMember activation template to load.57 * @param string[] $value Path to the list of Member activation template to load. 56 58 */ 57 bp_core_load_template( apply_filters( 'bp_core_template_activate', array( 'activate', 'registration/activate' ) ) ); 59 $templates = apply_filters( 'bp_core_template_activate', array( 'activate', 'registration/activate' ) ); 60 $templates[] = 'members/activate'; 61 62 bp_core_load_template( $templates ); 58 63 } 59 64 add_action( 'bp_screens', 'bp_core_screen_activation' );
Note: See TracChangeset
for help on using the changeset viewer.