Skip to:
Content

BuddyPress.org

Changeset 7923


Ignore:
Timestamp:
02/18/2014 04:47:45 PM (11 years ago)
Author:
johnjamesjacoby
Message:

In bp_has_message_threads() properly redirect to the displayed user domain (not the ID.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-template.php

    r7621 r7923  
    183183
    184184    if ( bp_is_current_action( 'notices' ) && !bp_current_user_can( 'bp_moderate' ) ) {
    185         wp_redirect( bp_displayed_user_id() );
     185        bp_core_redirect( bp_displayed_user_domain() );
    186186    } else {
    187187        if ( bp_is_current_action( 'sentbox' ) ) {
Note: See TracChangeset for help on using the changeset viewer.