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-activity/bp-activity-classes.php

    r3903 r3917  
    151151
    152152        // Get the fullnames of users so we don't have to query in the loop
    153         if ( bp_is_active( 'profile' ) && $activities ) {
     153        if ( bp_is_active( 'xprofile' ) && $activities ) {
    154154            foreach ( (array)$activities as $activity ) {
    155155                if ( (int)$activity->user_id )
     
    365365            // Select the user's fullname with the query so we don't have to
    366366            // fetch it for each comment
    367             if ( bp_is_active( 'profile' ) ) {
     367            if ( bp_is_active( 'xprofile' ) ) {
    368368                $fullname_select = ", pd.value as user_fullname";
    369369                $fullname_from = ", {$bp->profile->table_name_data} pd ";
Note: See TracChangeset for help on using the changeset viewer.