diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php
index c7e1f15..997eea8 100644
a
|
b
|
function bp_activities_member_rss_link() { echo bp_get_member_activity_feed_link |
1000 | 1000 | else if ( 'mentions' == $bp->current_action ) |
1001 | 1001 | $link = $bp->displayed_user->domain . $bp->activity->slug . '/mentions/feed/'; |
1002 | 1002 | |
1003 | | return apply_filters( 'bp_get_activities_member_rss_link', $link ); |
| 1003 | return apply_filters( 'bp_get_activities_member_feed_link', $link ); |
1004 | 1004 | } |
1005 | 1005 | function bp_get_activities_member_rss_link() { return bp_get_member_activity_feed_link(); } |
1006 | 1006 | |
| 1007 | function bp_get_member_current_activity_feed_title() { |
| 1008 | global $bp; |
| 1009 | |
| 1010 | if ( $bp->current_component == $bp->profile->slug || 'just-me' == $bp->current_action ) |
| 1011 | $name = 'Personal'; |
| 1012 | else if ( 'friends' == $bp->current_action ) |
| 1013 | $name = 'Friends'; |
| 1014 | else if ( 'groups' == $bp->current_action ) |
| 1015 | $name = 'Groups'; |
| 1016 | else if ( 'favorites' == $bp->current_action ) |
| 1017 | $name = 'Favorites'; |
| 1018 | else if ( 'mentions' == $bp->current_action ) |
| 1019 | $name = 'Mentions'; |
| 1020 | else if ( 'blogs' == $bp->current_action ) |
| 1021 | $name = 'Blogs'; |
| 1022 | |
| 1023 | return apply_filters( 'bp_get_activity_current_feed_title', $name ); |
| 1024 | } |
| 1025 | function bp_member_current_activity_feed_title() { return bp_get_member_current_activity_feed_title(); } |
| 1026 | function bp_member_current_activity_rss_title() { return bp_get_member_current_activity_feed_title(); } |
1007 | 1027 | |
1008 | 1028 | /* Template tags for RSS feed output */ |
1009 | 1029 | |
… |
… |
function bp_activity_feed_item_description() { |
1071 | 1091 | return apply_filters( 'bp_get_activity_feed_item_description', html_entity_decode( str_replace( '%s', '', $content ) ) ); |
1072 | 1092 | } |
1073 | 1093 | |
1074 | | ?> |
1075 | | No newline at end of file |
| 1094 | ?> |
diff --git a/wp-content/plugins/buddypress/bp-themes/bp-default/header.php b/wp-content/plugins/buddypress/bp-themes/bp-default/header.php
index 158053d..d0bfcac 100644
a
|
b
|
|
18 | 18 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" /> |
19 | 19 | <?php endif; ?> |
20 | 20 | |
21 | | <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?> |
22 | | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" /> |
| 21 | <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() && bp_is_activity_component() ) : ?> |
| 22 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( bp_member_current_activity_rss_title() . ' Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" /> |
23 | 23 | <?php endif; ?> |
24 | 24 | |
25 | 25 | <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?> |
… |
… |
|
108 | 108 | <?php do_action( 'bp_after_header' ) ?> |
109 | 109 | <?php do_action( 'bp_before_container' ) ?> |
110 | 110 | |
111 | | <div id="container"> |
112 | | No newline at end of file |
| 111 | <div id="container"> |