Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2011 07:46:50 PM (14 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-activity/bp-activity-actions.php

    r3917 r3982  
    2929    // Redirect to root if activity does not exist
    3030    if ( !$activity = $activity['activities'][0] )
    31         bp_core_redirect( $bp->root_domain );
     31        bp_core_redirect( bp_get_root_domain() );
    3232
    3333    // Do not redirect at default
     
    5757    // Allow redirect to be filtered
    5858    if ( !$redirect = apply_filters( 'bp_activity_permalink_redirect_url', $redirect, &$activity ) )
    59         bp_core_redirect( $bp->root_domain );
     59        bp_core_redirect( bp_get_root_domain() );
    6060
    6161    // Redirect to the actual activity permalink page
Note: See TracChangeset for help on using the changeset viewer.