summaryrefslogtreecommitdiff
path: root/Postman/PostmanAdminController.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/PostmanAdminController.php')
-rw-r--r--Postman/PostmanAdminController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/PostmanAdminController.php b/Postman/PostmanAdminController.php
index e871821..3d0486f 100644
--- a/Postman/PostmanAdminController.php
+++ b/Postman/PostmanAdminController.php
@@ -328,7 +328,7 @@ if ( ! class_exists( 'PostmanAdminController' ) ) {
$this->logger->debug( 'is wpnonce import-settings?' );
$success = true;
if ( wp_verify_nonce( $_REQUEST ['_wpnonce'], PostmanAdminController::IMPORT_SETTINGS_SLUG ) ) {
- $success = PostmanOptions::getInstance()->import( $_POST ['settings'] );
+ $success = PostmanOptions::getInstance()->import( sanitize_textarea_field($_POST ['settings']) );
} else {
$success = false;
}