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-core/admin/bp-core-admin.php

    r3777 r3790  
    101101                foreach ( (array)$_POST['bp-admin'] as $key => $value ) {
    102102
    103                         if ( bp_is_active( 'xprofile' ) ) {
     103                        if ( bp_is_active( 'profile' ) ) {
    104104                                if ( 'bp-xprofile-base-group-name' == $key )
    105105                                        $wpdb->query( $wpdb->prepare( "UPDATE {$bp->profile->table_name_groups} SET name = %s WHERE id = 1", stripslashes( $value ) ) );
     
    130130                                <tbody>
    131131
    132                                         <?php if ( bp_is_active( 'xprofile' ) ) : ?>
     132                                        <?php if ( bp_is_active( 'profile' ) ) : ?>
    133133
    134134                                                <tr>
Note: See TracChangeset for help on using the changeset viewer.