Fix registration/login issues

This commit is contained in:
Ultimate Member
2015-12-15 17:28:45 +02:00
parent 15ee6b01b2
commit a23714f0a2
+2 -6
View File
@@ -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();