Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2011 07:46:50 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Use bp_get_root_domain() in place of $bp->root_domain global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-functions.php

    r3972 r3982  
    8686        // If we are using a members slug, include it.
    8787        if ( !defined( 'BP_ENABLE_ROOT_PROFILES' ) )
    88             $domain = $bp->root_domain . '/' . $bp->members->root_slug . '/' . $username;
     88            $domain = bp_get_root_domain() . '/' . $bp->members->root_slug . '/' . $username;
    8989        else
    90             $domain = $bp->root_domain . '/' . $username;
     90            $domain = bp_get_root_domain() . '/' . $username;
    9191
    9292        // Add a slash at the end
Note: See TracChangeset for help on using the changeset viewer.