Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/01/2013 04:21:46 AM (9 years ago)
Author:
r-a-y
Message:

When public messaging a user, redirect to the activity directory instead of
your profile.

Fixes #3384.

File:
1 edited

Legend:

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

    r6948 r6977  
    24642464            return false;
    24652465
    2466         return apply_filters( 'bp_get_send_public_message_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/?r=' . bp_core_get_username( bp_displayed_user_id(), bp_get_displayed_user_username(), $bp->displayed_user->userdata->user_login ) ) );
     2466        return apply_filters( 'bp_get_send_public_message_link', wp_nonce_url( bp_get_activity_directory_permalink() . '?r=' . bp_core_get_username( bp_displayed_user_id(), bp_get_displayed_user_username(), $bp->displayed_user->userdata->user_login ) ) );
    24672467    }
    24682468
Note: See TracChangeset for help on using the changeset viewer.