}// if we've got an array, make it a comma delimited stringif(isset($cache_data) && $cache_data != wp_cache_get('mentions', $post->ID)) {wp_set_object_terms($post->ID, $users_to_add,'mentions',true);// tag the post.wp_cache_set('mentions', $cache_data, $post->ID); ...