Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/23/2010 08:55:18 PM (17 years ago)
Author:
apeatling
Message:

Merging 1.2 branch into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r2761 r2784  
    482482                 */
    483483
    484                 $content = bp_get_activity_action() . bp_get_activity_content_body();
     484                $content = bp_get_activity_action() . ' ' . bp_get_activity_content_body();
    485485                return apply_filters( 'bp_get_activity_content', $content );
    486486        }
     
    499499
    500500                /* 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 )
    502502                         $content .= apply_filters( 'bp_activity_delete_link', ' · ' . bp_get_activity_delete_link(), &$activities_template->activity );
    503503
     
    529529                        $content = $activities_template->activity_parents[$parent_id]->action;
    530530                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;
    532532
    533533                /* Remove the time since content for backwards compatibility */
     
    946946                        $content = $activities_template->activity->content;
    947947                else
    948                         $content = $activities_template->activity->action . $activities_template->activity->content;
     948                        $content = $activities_template->activity->action . ' ' . $activities_template->activity->content;
    949949
    950950                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.