Skip to:
Content

BuddyPress.org

Ticket #3527: 3527.01.patch

File 3527.01.patch, 1.5 KB (added by r-a-y, 14 years ago)
  • bp-activity/feeds/bp-activity-friends-feed.php

    header('Status: 200 OK'); 
    2424<channel>
    2525        <title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'Friends Activity', 'buddypress' ) ?></title>
    2626        <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    27         <link><?php echo bp_displayed_user_domain() . bp_get_activity_slug() . '/my-friends/feed' ?></link>
     27        <link><?php echo bp_displayed_user_domain() . bp_get_activity_slug() . '/friends/feed/' ?></link>
    2828        <description><?php printf( __( '%s - Friends Activity Feed', 'buddypress' ), $bp->displayed_user->fullname ) ?></description>
    2929        <pubDate><?php echo mysql2date('D, d M Y H:i:s O', bp_activity_get_last_updated(), false); ?></pubDate>
    3030        <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator>
    3131        <language><?php echo get_option('rss_language'); ?></language>
    3232        <?php do_action('bp_activity_friends_feed_head'); ?>
    3333
    34         <?php $friend_ids = implode( ',', friends_get_friend_user_ids( $bp->displayed_user->id ) ); ?>
    35         <?php if ( bp_has_activities( 'user_id=' . $friend_ids . '&max=50&display_comments=stream' ) ) : ?>
     34        <?php if ( bp_has_activities( 'scope=friends&max=50&display_comments=stream' ) ) : ?>
    3635                <?php while ( bp_activities() ) : bp_the_activity(); ?>
    3736                        <item>
    3837                                <guid><?php bp_activity_thread_permalink() ?></guid>