Skip to:
Content

BuddyPress.org

Changeset 6438


Ignore:
Timestamp:
10/22/2012 07:05:12 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Simplify logic for activation and sign-up screen functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-screens.php

    r6417 r6438  
    219219
    220220    do_action( 'bp_core_screen_signup' );
    221     bp_core_load_template( apply_filters( 'bp_core_template_register', 'registration/register' ) );
     221    bp_core_load_template( apply_filters( 'bp_core_template_register', array( 'register', 'registration/register' ) ) );
    222222}
    223223add_action( 'bp_screens', 'bp_core_screen_signup' );
     
    257257    }
    258258
    259     if ( '' != locate_template( array( 'registration/activate' ), false ) )
    260         bp_core_load_template( apply_filters( 'bp_core_template_activate', 'activate' ) );
    261     else
    262         bp_core_load_template( apply_filters( 'bp_core_template_activate', 'registration/activate' ) );
     259    bp_core_load_template( apply_filters( 'bp_core_template_activate', array( 'activate', 'registration/activate' ) ) );
    263260}
    264261add_action( 'bp_screens', 'bp_core_screen_activation' );
Note: See TracChangeset for help on using the changeset viewer.