Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2011 11:03:05 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Rename internal references to 'xprofile' component to 'profile' for object consistency and proper fallback support for when XProfile is disabled and the WP profile steps in. Move more code out of core and into Users and XProfile components. Split bp-xprofile-loader up into smaller files and convert to BP_Component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/registration/register.php

    r3771 r3790  
    4848                <?php /***** Extra Profile Details ******/ ?>
    4949
    50                 <?php if ( bp_is_active( 'xprofile' ) ) : ?>
     50                <?php if ( bp_is_active( 'profile' ) ) : ?>
    5151
    5252                    <?php do_action( 'bp_before_signup_profile_fields' ) ?>
     
    5757
    5858                        <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    59                         <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
     59                        <?php if ( bp_is_active( 'profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    6060
    6161                        <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
Note: See TracChangeset for help on using the changeset viewer.