Changeset 5926
- Timestamp:
- 08/25/2015 02:32:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/functions.php
r5908 r5926 329 329 $favorites = implode( ',', wp_parse_id_list( array_filter( $favorites ) ) ); 330 330 update_user_option( $user_id, '_bbp_favorites', $favorites ); 331 332 // Purge cache 333 wp_cache_delete( 'bbp_get_topic_favoriters_' . $topic_id, 'bbpress_users' ); 331 334 } 332 335 … … 371 374 delete_user_option( $user_id, '_bbp_favorites' ); 372 375 } 376 377 // Purge cache 378 wp_cache_delete( 'bbp_get_topic_favoriters_' . $topic_id, 'bbpress_users' ); 373 379 } 374 380
Note: See TracChangeset
for help on using the changeset viewer.