Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/04/2011 05:20:57 PM (13 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-friends/bp-friends-activity.php

    r5416 r5437  
    4848        return false;
    4949
     50    // These two added in BP 1.6
     51    bp_activity_set_action( $bp->friends->id, 'friendship_accepted', __( 'Friendships accepted', 'buddypress' ) );
     52    bp_activity_set_action( $bp->friends->id, 'friendship_created', __( 'New friendships', 'buddypress' ) );
     53
     54    // < BP 1.6 backpat
    5055    bp_activity_set_action( $bp->friends->id, 'friends_register_activity_action', __( 'New friendship created', 'buddypress' ) );
    5156
Note: See TracChangeset for help on using the changeset viewer.