- small notices fixed;

- fixed role submit for extensions integrations;
This commit is contained in:
nikitozzzzzzz
2018-02-01 10:59:44 +02:00
parent 7d7a3ef73c
commit b9f88bb06b
2 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -199,7 +199,8 @@ if ( ! class_exists( 'Form' ) ) {
} elseif ( isset( $this->post_form['mode'] ) && $this->post_form['mode'] == 'register' ) {
$role = $this->assigned_role( $this->form_id );
$this->post_form['role'] = $role;
$this->post_form['submitted']['role'] = $role;
//fix for social login
//$this->post_form['submitted']['role'] = $role;
}
if ( isset( $_POST[ UM()->honeypot ] ) && $_POST[ UM()->honeypot ] != '' ){