Skip to:
Content

BuddyPress.org

Changeset 5950


Ignore:
Timestamp:
03/29/2012 09:33:12 PM (12 years ago)
Author:
djpaul
Message:

Remove repeated content in RSS feed items. Fixes #4082

File:
1 edited

Legend:

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

    r5929 r5950  
    26492649        global $activities_template;
    26502650
    2651         if ( empty( $activities_template->activity->action ) )
     2651        $content = '';
     2652        if ( ! empty( $activities_template->activity->content ) )
    26522653            $content = $activities_template->activity->content;
    2653         else
    2654             $content = $activities_template->activity->action . ' ' . $activities_template->activity->content;
    26552654
    26562655        return apply_filters( 'bp_get_activity_feed_item_description', ent2ncr( convert_chars( str_replace( '%s', '', $content ) ) ) );
Note: See TracChangeset for help on using the changeset viewer.