Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/25/2011 08:58:56 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Rename new 'bp-users' component to 'bp-members' for consistency through-out project.
Core, Messages, and Friends Components now use the BP_Component class.
Split Friends and Messages components into smaller files.
Change references to 'profile' to 'xprofile' through-out project for consistency.
Introduce 'bp_actions' and 'bp_screens' standard hooks to replace the usage of 'wp' through-out project.
Move component loader sequence into bp-core-bootstrap.php,
Move old root_component action into 1.3 deprecated file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-admin.php

    r3790 r3917  
    101101        foreach ( (array)$_POST['bp-admin'] as $key => $value ) {
    102102
    103             if ( bp_is_active( 'profile' ) ) {
     103            if ( bp_is_active( 'xprofile' ) ) {
    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( 'profile' ) ) : ?>
     132                    <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    133133
    134134                        <tr>
Note: See TracChangeset for help on using the changeset viewer.