diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-11-17 13:03:43 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-11-17 13:03:43 +0000 |
commit | 0b244f7df855f16d1d767054bd7b728ef21462e9 (patch) | |
tree | 0a48cb82a796c6b7e2432741b03995cb2bae611e /Postman/PostmanPluginFeedback.php | |
parent | 238d3e53f51c4408581b4961924120ac008a2ae4 (diff) | |
download | Post-SMTP-0b244f7df855f16d1d767054bd7b728ef21462e9.zip |
= 1.7.8 - 2017-11-17
* = Menu Items grouping =
* Fixed: IP detection error in some web hosts
* Fixed: Link open in new page attribute = _blank
* Fixed: Replace deprecated PHP 7 functions.
* Updated: Validator TLD's list
* Added: Email log date and search filter.
* Added: Alert on sending error (Fallback to local mail)
* Added: Email body preview (not raw)
Diffstat (limited to 'Postman/PostmanPluginFeedback.php')
-rw-r--r-- | Postman/PostmanPluginFeedback.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Postman/PostmanPluginFeedback.php b/Postman/PostmanPluginFeedback.php index 562d8a5..de7d73f 100644 --- a/Postman/PostmanPluginFeedback.php +++ b/Postman/PostmanPluginFeedback.php @@ -32,7 +32,7 @@ class PostmanPluginFeedback { if ( isset( $_POST['support'] ) ) { $payload['support']['email'] = sanitize_email( $_POST['support']['email'] ); - $payload['support']['title'] = sanitize_email( $_POST['support']['title'] ); + $payload['support']['title'] = sanitize_text_field( $_POST['support']['title'] ); $payload['support']['text'] = sanitize_textarea_field( $_POST['support']['text'] ); } @@ -40,7 +40,7 @@ class PostmanPluginFeedback { 'body' => $payload, ); $result = wp_remote_post( 'https://postmansmtp.com/feedback', $args ); - die(); + die( 'success' ); } function admin_head() { |