Changeset 2344 for trunk/bp-themes/bp-sn-parent/_inc/ajax.php
- Timestamp:
- 01/18/2010 09:18:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/_inc/ajax.php
r2139 r2344 447 447 $activity_id = xprofile_record_activity( array( 448 448 'user_id' => $bp->loggedin_user->id, 449 'content' => apply_filters( 'xprofile_activity_ new_wire_post', $activity_content, &$wire_post ),450 'primary_link' => apply_filters( 'xprofile_activity_ new_wire_post_primary_link', $primary_link ),451 'component_action' => ' new_wire_post'449 'content' => apply_filters( 'xprofile_activity_update', $activity_content, &$wire_post ), 450 'primary_link' => apply_filters( 'xprofile_activity_update_primary_link', $primary_link ), 451 'component_action' => 'activity_update' 452 452 ) ); 453 453 454 do_action( 'xprofile_ new_wire_post', &$wire_post );454 do_action( 'xprofile_activity_update', &$wire_post ); 455 455 } else { 456 456 $bp->groups->current_group = new BP_Groups_Group( $item_id ); … … 462 462 463 463 $activity_id = groups_record_activity( array( 464 'content' => apply_filters( 'groups_activity_ new_wire_post', $activity_content ),465 'primary_link' => apply_filters( 'groups_activity_ new_wire_post_primary_link', bp_get_group_permalink( $bp->groups->current_group ) ),466 'component_action' => ' new_wire_post',464 'content' => apply_filters( 'groups_activity_update', $activity_content ), 465 'primary_link' => apply_filters( 'groups_activity_update_primary_link', bp_get_group_permalink( $bp->groups->current_group ) ), 466 'component_action' => 'activity_update', 467 467 'item_id' => $item_id 468 468 ) ); 469 469 470 do_action( 'groups_ new_wire_post', $item_id, $wire_post->id );470 do_action( 'groups_activity_update', $item_id, $wire_post->id ); 471 471 } 472 472
Note: See TracChangeset
for help on using the changeset viewer.