- fixed user status setup on registration process;

This commit is contained in:
nikitozzzzzzz
2018-05-25 18:22:38 +03:00
parent 4000dca515
commit 224b869541
3 changed files with 46 additions and 15 deletions
+2 -1
View File
@@ -465,8 +465,9 @@ if ( ! class_exists( 'um\core\Form' ) ) {
$global_role = get_option( 'default_role' ); // WP Global settings
$um_global_role = UM()->options()->get( 'register_role' ); // UM Settings Global settings
if ( ! empty( $um_global_role ) )
if ( ! empty( $um_global_role ) ) {
$global_role = $um_global_role; // Form Global settings
}
$mode = $this->form_type( $post_id );