From a23714f0a2f45d798e85b258e7371ea5ac9ba38a Mon Sep 17 00:00:00 2001 From: Ultimate Member Date: Tue, 15 Dec 2015 17:28:45 +0200 Subject: [PATCH] Fix registration/login issues --- um-init.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/um-init.php b/um-init.php index 598ba2e3..d676038d 100644 --- a/um-init.php +++ b/um-init.php @@ -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(); \ No newline at end of file