Changeset 11538 for trunk/src/bp-messages/bp-messages-screens.php
- Timestamp:
- 04/27/2017 03:36:27 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-screens.php
r11537 r11538 122 122 123 123 if ( empty( $thread_id ) || ! messages_is_valid_thread( $thread_id ) ) { 124 if ( is_user_logged_in() ) { 125 bp_core_add_message( __( 'The conversation you tried to access is no longer available', 'buddypress' ), 'error' ); 126 } 127 124 128 bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ) ); 125 129 } … … 134 138 // Redirect away. 135 139 } else { 136 bp_core_add_message( __( 'You do not have access to that message thread.', 'buddypress' ), 'error' );140 bp_core_add_message( __( 'You do not have access to that conversation.', 'buddypress' ), 'error' ); 137 141 bp_core_redirect( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() ) ); 138 142 }
Note: See TracChangeset
for help on using the changeset viewer.