- Timestamp:
- 03/31/2023 05:26:39 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/template-tags.php
r13441 r13443 2259 2259 2260 2260 if ( bp_is_user() ) { 2261 $url = rawurlencode( bp_displayed_user_ domain() );2261 $url = rawurlencode( bp_displayed_user_url() ); 2262 2262 2263 2263 } elseif ( bp_is_group() ) { … … 2699 2699 2700 2700 if ( $retval ) { 2701 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/feed');2701 $bp_nouveau->activity->current_rss_feed['link'] = bp_displayed_user_url( array( bp_nouveau_get_component_slug( 'activity' ), 'feed' ) ); 2702 2702 } 2703 2703 … … 2706 2706 2707 2707 if ( $retval ) { 2708 $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');2708 $bp_nouveau->activity->current_rss_feed['link'] = bp_displayed_user_url( array( bp_nouveau_get_component_slug( 'activity' ), bp_nouveau_get_component_slug( 'friends' ), 'feed' ) ); 2709 2709 } 2710 2710 } elseif ( bp_is_active( 'groups' ) && bp_is_current_action( bp_nouveau_get_component_slug( 'groups' ) ) ) { … … 2712 2712 2713 2713 if ( $retval ) { 2714 $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');2714 $bp_nouveau->activity->current_rss_feed['link'] = bp_displayed_user_url( array( bp_nouveau_get_component_slug( 'activity' ), bp_nouveau_get_component_slug( 'groups' ), 'feed' ) ); 2715 2715 } 2716 2716 } elseif ( bp_activity_do_mentions() && bp_is_current_action( 'mentions' ) ) { … … 2718 2718 2719 2719 if ( $retval ) { 2720 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/mentions/feed');2720 $bp_nouveau->activity->current_rss_feed['link'] = bp_displayed_user_url( array( bp_nouveau_get_component_slug( 'activity' ), 'mentions', 'feed' ) ); 2721 2721 } 2722 2722 } elseif ( bp_activity_can_favorite() && bp_is_current_action( 'favorites' ) ) { … … 2724 2724 2725 2725 if ( $retval ) { 2726 $bp_nouveau->activity->current_rss_feed['link'] = trailingslashit( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'activity' ) . '/favorites/feed');2726 $bp_nouveau->activity->current_rss_feed['link'] = bp_displayed_user_url( array( bp_nouveau_get_component_slug( 'activity' ), 'favorites', 'feed' ) ); 2727 2727 } 2728 2728 }
Note: See TracChangeset
for help on using the changeset viewer.