Changeset 13270
- Timestamp:
- 04/14/2022 07:38:35 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/10.0/src/bp-messages/bp-messages-notifications.php
r13112 r13270 223 223 224 224 /* 225 * Only run on the logged-in user's profile.226 * If an admin visits a thread, it shouldn't change the read status.225 * Bail if viewing the logged-in user's profile or a single message thread. 226 * The `messages_action_conversation()` action already marks the current thread as read. 227 227 */ 228 if ( ! bp_is_my_profile() ) {228 if ( ! bp_is_my_profile() || ( bp_is_current_action( 'view' ) && bp_action_variable( 0 ) ) ) { 229 229 return; 230 230 }
Note: See TracChangeset
for help on using the changeset viewer.