mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 21:23:39 +09:00
Fix performance issue with autoload user cache
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user