mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix registration/login issues
This commit is contained in:
+2
-6
@@ -15,8 +15,7 @@ class UM_API {
|
||||
}
|
||||
|
||||
add_action('init', array(&$this, 'init'), 0);
|
||||
add_action('init', array(&$this, 'form'), 10);
|
||||
|
||||
|
||||
add_action('init', array(&$this, 'load_addons') );
|
||||
|
||||
$this->honeypot = 'request';
|
||||
@@ -159,6 +158,7 @@ class UM_API {
|
||||
$this->datetime = new UM_DateTime();
|
||||
$this->chart = new UM_Chart();
|
||||
$this->builtin = new UM_Builtin();
|
||||
$this->form = new UM_Form();
|
||||
$this->files = new UM_Files();
|
||||
$this->taxonomies = new UM_Taxonomies();
|
||||
$this->validation = new UM_Validation();
|
||||
@@ -186,10 +186,6 @@ class UM_API {
|
||||
|
||||
}
|
||||
|
||||
function form() {
|
||||
$this->form = new UM_Form();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$ultimatemember = new UM_API();
|
||||
Reference in New Issue
Block a user