Changeset 2344 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 01/18/2010 09:18:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2291 r2344 125 125 'user_id' => false, // user_id to filter on 126 126 'object' => false, // object to filter on e.g. groups, profile, status, friends 127 'action' => false, // action to filter on e.g. new_wire_post, new_forum_post, profile_updated127 'action' => false, // action to filter on e.g. activity_update, new_forum_post, profile_updated 128 128 'primary_id' => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc. 129 129 'secondary_id' => false, // secondary object ID to filter on e.g. a post_id … … 733 733 $title = substr( $title, 0, -1 ); 734 734 735 if ( ' new_wire_post' == $activities_template->activity->component_action ) {735 if ( 'activity_update' == $activities_template->activity->component_action ) { 736 736 $content = explode( '<div class="activity-inner">', $activities_template->activity->content ); 737 737 $title .= ': ' . strip_tags( bp_create_excerpt( $content[1], 15 ));
Note: See TracChangeset
for help on using the changeset viewer.