Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/04/2011 05:20:57 PM (12 years ago)
Author:
djpaul
Message:

Switch the "filter by" drop down on the Activity admin screen to get its values from the registered activity list. Adds missing core activity types to that list. See #3660.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-activity.php

    r5302 r5437  
    1616    global $bp;
    1717
    18     if ( bp_is_active( 'activity' ) )
    19         return false;
    20 
    2118    // Register the activity stream actions for this component
     19    bp_activity_set_action( $bp->profile->id, 'new_avatar',      __( 'Member changed profile picture', 'buddypress' ) );
    2220    bp_activity_set_action( $bp->profile->id, 'new_member',      __( 'New member registered', 'buddypress' ) );
    23     bp_activity_set_action( $bp->profile->id, 'updated_profile', __( 'Updated Profile',       'buddypress' ) );
     21    bp_activity_set_action( $bp->profile->id, 'updated_profile', __( 'Updated Profile', 'buddypress' ) );
    2422
    2523    do_action( 'xprofile_register_activity_actions' );
Note: See TracChangeset for help on using the changeset viewer.