mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 07:04:06 +09:00
Update 1.1.6
This commit is contained in:
@@ -12,6 +12,8 @@ class UM_Form {
|
||||
|
||||
$this->errors = null;
|
||||
|
||||
$this->processing = null;
|
||||
|
||||
add_action('init', array(&$this, 'form_init'), 2);
|
||||
|
||||
add_action('init', array(&$this, 'field_declare'), 10);
|
||||
@@ -107,6 +109,8 @@ class UM_Form {
|
||||
|
||||
$this->form_suffix = '-' . $form['form_id'];
|
||||
|
||||
$this->processing = $form['form_id'];
|
||||
|
||||
foreach($form as $key => $value){
|
||||
if (strstr($key, $this->form_suffix) ) {
|
||||
$a_key = str_replace( $this->form_suffix, '', $key);
|
||||
|
||||
Reference in New Issue
Block a user