mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
- fixed login form loading in modal window;
This commit is contained in:
@@ -39,14 +39,14 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
||||
'instagram' => '2.0',
|
||||
'invitations' => '2.0',
|
||||
'mailchimp' => '2.0.1',
|
||||
'messaging' => '2.0.1',
|
||||
'messaging' => '2.0.5',
|
||||
'mycred' => '2.0',
|
||||
'notices' => '2.0.1',
|
||||
'notifications' => '2.0.1',
|
||||
'online' => '2.0',
|
||||
'private-content' => '2.0',
|
||||
'profile-completeness' => '2.0.1',
|
||||
'recaptcha' => '2.0',
|
||||
'recaptcha' => '2.0.2',
|
||||
'reviews' => '2.0.3',
|
||||
'social-activity' => '2.0.1',
|
||||
'social-login' => '2.0.1',
|
||||
|
||||
@@ -107,6 +107,10 @@ if ( ! class_exists( 'um\core\Password' ) ) {
|
||||
|
||||
UM()->form()->post_form = $_POST;
|
||||
|
||||
if ( empty( UM()->form()->post_form['mode'] ) ) {
|
||||
UM()->form()->post_form['mode'] = 'password';
|
||||
}
|
||||
|
||||
/**
|
||||
* UM hook
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user