Permalink
Browse files

Forgot to pass view variables for ajax messages.

  • Loading branch information...
mvied committed Mar 29, 2013
1 parent 0e9139a commit 05b831827315509a91a3c894198e7716fccbcb31
@@ -84,7 +84,7 @@ public function reset() {
$this->getPlugin()->setSetting('ssl_host_mapping', WordPressHTTPS::$ssl_host_mapping);
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload));
}
/**
@@ -110,7 +110,7 @@ public function save() {
}
$this->getPlugin()->setSetting('ssl_host_mapping', $ssl_host_mapping);
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload));
}
}
@@ -156,7 +156,7 @@ public function save() {
wp_logout();
}
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload, 'logout' => $logout));
}
}
@@ -204,7 +204,7 @@ public function reset() {
}
$this->getPlugin()->install();
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload));
}
/**
@@ -293,7 +293,7 @@ public function save() {
wp_logout();
}
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload, 'logout' => $logout));
}
}
@@ -86,7 +86,7 @@ public function reset() {
$this->getPlugin()->setSetting('secure_filter', array());
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload));
}
/**
@@ -108,7 +108,7 @@ public function save() {
$filters = array_filter($filters); // Removes blank array items
$this->getPlugin()->setSetting('secure_filter', $filters);
- $this->getPlugin()->renderView('ajax_message');
+ $this->getPlugin()->renderView('ajax_message', array('message' => $message, 'errors' => $errors, 'reload' => $reload));
}
}

0 comments on commit 05b8318

Please sign in to comment.