Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2011 01:52:18 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Audit the usage of $bp->activity->slug. See #3325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-screens.php

    r4605 r4646  
    147147        is_user_logged_in() ?
    148148            bp_core_redirect( $bp->loggedin_user->domain ) :
    149             bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( bp_get_root_domain() . '/' . $bp->activity->slug . '/p/' . $bp->current_action ) ) );
     149            bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . esc_url( bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $bp->current_action ) ) );
    150150    }
    151151
Note: See TracChangeset for help on using the changeset viewer.