Changeset 11578 for trunk/src/bp-messages/bp-messages-notifications.php
- Timestamp:
- 06/06/2017 05:46:21 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-notifications.php
r11022 r11578 172 172 global $thread_template; 173 173 174 /* 175 * Only run on the logged-in user's profile. 176 * If an admin visits a thread, it shouldn't change the read status. 177 */ 178 if ( ! bp_is_my_profile() ) { 179 return; 180 } 181 174 182 // Get unread PM notifications for the user. 175 183 $new_pm_notifications = BP_Notifications_Notification::get( array(
Note: See TracChangeset
for help on using the changeset viewer.