Fix performance issue with autoload user cache

This commit is contained in:
Champ Camba
2017-09-11 21:45:35 +08:00
parent 495f447b5c
commit 28826d1097
+1 -1
View File
@@ -362,7 +362,7 @@ if ( ! class_exists( 'User' ) ) {
return '';
}
update_option( "um_cache_userdata_{$user_id}", $profile );
update_option( "um_cache_userdata_{$user_id}", $profile, false );
}
function remove_cache( $user_id ) {