Changeset 13402 for trunk/src/bp-messages/bp-messages-cache.php
- Timestamp:
- 01/08/2023 11:12:01 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-cache.php
r13401 r13402 66 66 } 67 67 68 // Delete thread latest message cached data. 69 wp_cache_delete( "{$message->thread_id}_bp_messages_thread_latest_message", 'bp_messages_threads' ); 70 68 71 // Delete thread recipient cache. 69 72 wp_cache_delete( 'thread_recipients_' . $message->thread_id, 'bp_messages' ); … … 85 88 wp_cache_delete( $thread_id, 'bp_messages_threads' ); 86 89 wp_cache_delete( "thread_recipients_{$thread_id}", 'bp_messages' ); 90 91 // Delete thread latest message cached data. 92 wp_cache_delete( "{$thread_id}_bp_messages_thread_latest_message", 'bp_messages_threads' ); 87 93 88 94 // Delete thread messages count.
Note: See TracChangeset
for help on using the changeset viewer.