Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot to pass view variables for ajax messages.

  • Loading branch information...
commit 05b831827315509a91a3c894198e7716fccbcb31 1 parent 0e9139a
@mvied authored
View
4 lib/WordPressHTTPS/Module/DomainMapping.php
@@ -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));
}
}
View
2  lib/WordPressHTTPS/Module/Network.php
@@ -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));
}
}
View
4 lib/WordPressHTTPS/Module/Settings.php
@@ -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));
}
}
View
4 lib/WordPressHTTPS/Module/UrlFilters.php
@@ -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));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.