Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/06/2009 03:07:48 AM (17 years ago)
Author:
apeatling
Message:

Converted $bp as an array to $bp as an object. See this post for more info: http://buddypress.org/forums/topic.php?id=1125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/feeds/bp-activity-personal-feed.php

    r601 r1021  
    1919
    2020<channel>
    21         <title><?php echo $bp['current_fullname']; ?> - <?php _e( 'Activity', 'buddypress' ) ?></title>
     21        <title><?php echo $bp->displayed_user->fullname; ?> - <?php _e( 'Activity', 'buddypress' ) ?></title>
    2222        <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    23         <link><?php echo $bp['current_domain'] . $bp['activity']['slug'] . '/feed' ?></link>
    24         <description><?php _e( sprintf( '%s - Activity Feed', $bp['current_fullname'] ), 'buddypress' ) ?></description>
     23        <link><?php echo $bp->displayed_user->domain . $bp->activity->slug . '/feed' ?></link>
     24        <description><?php _e( sprintf( '%s - Activity Feed', $bp->displayed_user->fullname ), 'buddypress' ) ?></description>
    2525        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate>
    2626        <generator>http://buddypress.org/?bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>
Note: See TracChangeset for help on using the changeset viewer.