- Timestamp:
- 04/27/2021 06:59:23 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/template-tags.php
r12907 r12908 4 4 * 5 5 * @since 3.0.0 6 * @version 7.0.06 * @version 8.0.0 7 7 */ 8 8 … … 2240 2240 $output = ''; 2241 2241 2242 if ( bp_ get_notifications_slug() === bp_current_component() ) {2242 if ( bp_nouveau_get_component_slug( 'notifications' ) === bp_current_component() ) { 2243 2243 $output = bp_nouveau_get_notifications_filters(); 2244 2244 … … 2721 2721 2722 2722 if ( $retval ) { 2723 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_ get_activity_slug() . '/feed' );2723 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/feed' ); 2724 2724 } 2725 2725 2726 if ( bp_is_active( 'friends' ) && bp_is_current_action( bp_ get_friends_slug() ) ) {2726 if ( bp_is_active( 'friends' ) && bp_is_current_action( bp_nouveau_get_component_slug( 'friends' ) ) ) { 2727 2727 $retval = bp_activity_is_feed_enable( 'friends' ); 2728 2728 2729 2729 if ( $retval ) { 2730 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_ get_activity_slug() . '/' . bp_get_friends_slug() . '/feed' );2730 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/' . bp_nouveau_get_component_slug( 'friends' ) . '/feed' ); 2731 2731 } 2732 } elseif ( bp_is_active( 'groups' ) && bp_is_current_action( bp_ get_groups_slug() ) ) {2732 } elseif ( bp_is_active( 'groups' ) && bp_is_current_action( bp_nouveau_get_component_slug( 'groups' ) ) ) { 2733 2733 $retval = bp_activity_is_feed_enable( 'mygroups' ); 2734 2734 2735 2735 if ( $retval ) { 2736 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_ get_activity_slug() . '/' . bp_get_groups_slug() . '/feed' );2736 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/' . bp_nouveau_get_component_slug( 'groups' ) . '/feed' ); 2737 2737 } 2738 2738 } elseif ( bp_activity_do_mentions() && bp_is_current_action( 'mentions' ) ) { … … 2740 2740 2741 2741 if ( $retval ) { 2742 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_ get_activity_slug() . '/mentions/feed' );2742 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/mentions/feed' ); 2743 2743 } 2744 2744 } elseif ( bp_activity_can_favorite() && bp_is_current_action( 'favorites' ) ) { … … 2746 2746 2747 2747 if ( $retval ) { 2748 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_ get_activity_slug() . '/favorites/feed' );2748 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/favorites/feed' ); 2749 2749 } 2750 2750 }
Note: See TracChangeset
for help on using the changeset viewer.