mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
- fixed roles wp_capabilities init;
- fixed 2.0 upgrade transfer logic with roles and capabilities;
This commit is contained in:
@@ -84,6 +84,7 @@ if ( ! class_exists( 'User' ) ) {
|
||||
|
||||
if ( 'rejected' == $status ) {
|
||||
wp_logout();
|
||||
session_unset();
|
||||
exit( wp_redirect( um_get_core_page( 'login' ) ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user