Changeset 2784 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 02/23/2010 08:55:18 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-templatetags.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2761 r2784 482 482 */ 483 483 484 $content = bp_get_activity_action() . bp_get_activity_content_body();484 $content = bp_get_activity_action() . ' ' . bp_get_activity_content_body(); 485 485 return apply_filters( 'bp_get_activity_content', $content ); 486 486 } … … 499 499 500 500 /* Add the delete link if the user has permission on this item */ 501 if ( ( is_user_logged_in() && $activities_template->activity->user_id == $bp->loggedin_user->id ) || $bp->is_item_admin || is_site_admin())501 if ( ( is_user_logged_in() && $activities_template->activity->user_id == $bp->loggedin_user->id ) || $bp->is_item_admin || $bp->loggedin_user->is_site_admin ) 502 502 $content .= apply_filters( 'bp_activity_delete_link', ' · ' . bp_get_activity_delete_link(), &$activities_template->activity ); 503 503 … … 529 529 $content = $activities_template->activity_parents[$parent_id]->action; 530 530 else 531 $content = $activities_template->activity_parents[$parent_id]->action . $activities_template->activity_parents[$parent_id]->content;531 $content = $activities_template->activity_parents[$parent_id]->action . ' ' . $activities_template->activity_parents[$parent_id]->content; 532 532 533 533 /* Remove the time since content for backwards compatibility */ … … 946 946 $content = $activities_template->activity->content; 947 947 else 948 $content = $activities_template->activity->action . $activities_template->activity->content;948 $content = $activities_template->activity->action . ' ' . $activities_template->activity->content; 949 949 950 950 return apply_filters( 'bp_get_activity_feed_item_description', html_entity_decode( str_replace( '%s', '', $content ) ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)