Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 02:45:59 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Replace direct references to $bp user domains with their functional equivalents. See #3994.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-loader.php

    r5687 r5704  
    267267        );
    268268
    269         $groups_link = trailingslashit( $bp->loggedin_user->domain . $this->slug );
     269        $groups_link = trailingslashit( bp_loggedin_user_domain() . $this->slug );
    270270
    271271        // Add the My Groups nav item
     
    413413
    414414            // Setup the logged in user variables
    415             $user_domain = $bp->loggedin_user->domain;
     415            $user_domain = bp_loggedin_user_domain();
    416416            $groups_link = trailingslashit( $user_domain . $this->slug );
    417417
Note: See TracChangeset for help on using the changeset viewer.