- fixed roles wp_capabilities init;

- fixed 2.0 upgrade transfer logic with roles and capabilities;
This commit is contained in:
nikitozzzzzzz
2018-01-24 21:07:11 +02:00
parent 6a6c7abe63
commit 1a754a0a93
4 changed files with 176 additions and 59 deletions
+1
View File
@@ -84,6 +84,7 @@ if ( ! class_exists( 'User' ) ) {
if ( 'rejected' == $status ) {
wp_logout();
session_unset();
exit( wp_redirect( um_get_core_page( 'login' ) ) );
}