Changeset 5848
- Timestamp:
- 07/15/2015 09:45:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/loader.php
r5847 r5848 260 260 // not activated on a the root blog but on any child one 261 261 if ( ! bp_is_root_blog() ) { 262 $my_account_link = bbp_get_user_profile_url(); 263 $my_topics_link = bbp_get_user_topics_created_url(); 264 $my_replies_link = bbp_get_user_replies_created_url(); 265 $my_favorites_link = bbp_get_favorites_permalink(); 266 $my_subscriptions_link = bbp_get_subscriptions_permalink(); 262 $user_id = bbp_get_current_user_id(); 263 $my_account_link = bbp_get_user_profile_url( $user_id ); 264 $my_topics_link = bbp_get_user_topics_created_url( $user_id ); 265 $my_replies_link = bbp_get_user_replies_created_url( $user_id ); 266 $my_favorites_link = bbp_get_favorites_permalink( $user_id ); 267 $my_subscriptions_link = bbp_get_subscriptions_permalink( $user_id ); 267 268 } else { 268 269
Note: See TracChangeset
for help on using the changeset viewer.