Changeset 13247 for trunk/src/bp-notifications/bp-notifications-cache.php
- Timestamp:
- 02/25/2022 01:37:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-cache.php
r13243 r13247 105 105 // Get the list of user IDs from notification IDs. 106 106 } elseif ( isset( $where_args['ids'] ) && $where_args['ids'] ) { 107 $ids = (array) $where_args['ids']; 107 $ids = (array) $where_args['ids']; 108 $is_new = 1; 109 110 if ( isset( $update_args['data']['is_new'] ) && 1 === $update_args['data']['is_new'] ) { 111 $is_new = 0; 112 } 108 113 109 114 $ns = BP_Notifications_Notification::get( 110 115 array( 111 'id' => $ids, 116 'id' => $ids, 117 'is_new' => $is_new, 112 118 ) 113 119 );
Note: See TracChangeset
for help on using the changeset viewer.