Changeset 11752
- Timestamp:
- 11/29/2017 05:35:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-screens.php
r11538 r11752 130 130 131 131 // No access. 132 if ( ! messages_check_thread_access( $thread_id) && ! bp_current_user_can( 'bp_moderate' ) ) {132 if ( ( ! messages_check_thread_access( $thread_id ) || ! bp_is_my_profile() ) && ! bp_current_user_can( 'bp_moderate' ) ) { 133 133 // If not logged in, prompt for login. 134 134 if ( ! is_user_logged_in() ) {
Note: See TracChangeset
for help on using the changeset viewer.