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-core/bp-core-functions.php

    r3955 r3982  
    513513
    514514    if ( empty( $_POST['search-terms'] ) ) {
    515         bp_core_redirect( $bp->root_domain );
     515        bp_core_redirect( bp_get_root_domain() );
    516516        return;
    517517    }
     
    543543
    544544        if ( empty( $slug ) ) {
    545             bp_core_redirect( $bp->root_domain );
     545            bp_core_redirect( bp_get_root_domain() );
    546546            return;
    547547        }
Note: See TracChangeset for help on using the changeset viewer.