Skip to:
Content

BuddyPress.org

Changeset 3167


Ignore:
Timestamp:
08/09/2010 08:47:39 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2569 props jeffsayre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity.php

    r3145 r3167  
    11811181add_action( 'make_spam_user', 'bp_activity_remove_data' );
    11821182
     1183/**
     1184 * updates_register_activity_actions()
     1185 *
     1186 * Register the activity stream actions for updates
     1187 *
     1188 * @global array $bp
     1189 */
     1190function updates_register_activity_actions() {
     1191    global $bp;
     1192
     1193    bp_activity_set_action( $bp->activity->id, 'activity_update', __( 'Posted an update', 'buddypress' ) );
     1194
     1195    do_action( 'updates_register_activity_actions' );
     1196}
     1197add_action( 'bp_register_activity_actions', 'updates_register_activity_actions' );
    11831198
    11841199/********************************************************************************
Note: See TracChangeset for help on using the changeset viewer.