Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/20/2010 04:21:20 PM (15 years ago)
Author:
apeatling
Message:

Standardizing activity stream fields and splitting the action from the content for better manageability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/_inc/ajax.php

    r2344 r2381  
    449449            'content' => apply_filters( 'xprofile_activity_update', $activity_content, &$wire_post ),
    450450            'primary_link' => apply_filters( 'xprofile_activity_update_primary_link', $primary_link ),
    451             'component_action' => 'activity_update'
     451            'type' => 'activity_update'
    452452        ) );
    453453
     
    464464            'content' => apply_filters( 'groups_activity_update', $activity_content ),
    465465            'primary_link' => apply_filters( 'groups_activity_update_primary_link', bp_get_group_permalink( $bp->groups->current_group ) ),
    466             'component_action' => 'activity_update',
     466            'type' => 'activity_update',
    467467            'item_id' => $item_id
    468468        ) );
     
    512512        'content' => apply_filters( 'bp_activity_comment_content', $comment_header . '<div class="activity-inner">' . $_POST['content'] . '</div>' ),
    513513        'primary_link' => '',
    514         'component_name' => $bp->activity->id,
    515         'component_action' => 'activity_comment',
     514        'component' => $bp->activity->id,
     515        'type' => 'activity_comment',
    516516        'user_id' => $bp->loggedin_user->id,
    517517        'item_id' => $_POST['form_id'],
Note: See TracChangeset for help on using the changeset viewer.