From 3ce811b0cf8b8b01ac528463cc6375b4625cba46 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 11 Dec 2015 13:36:46 -0500 Subject: [PATCH] Fix for reply to email Need to check this email also. --- controllers/admin.php | 8 ++++++++ glm-employment.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/controllers/admin.php b/controllers/admin.php index bbb5029..86eb043 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -191,6 +191,14 @@ class staffords_employment_admin 'error' ); } + if ( !$valid_reply_email = $this->validate_email_string($input['replyto_email']) ) { + add_settings_error( + STAFFORDS_EMP_SETTINGS, + 'setting-error-notify-email', + 'invalid email for Reply-To: Email', + 'error' + ); + } $terms = get_terms( STAFFORDS_EMP_TAX_DEPARTMENTS, array( diff --git a/glm-employment.php b/glm-employment.php index b0b4912..26f0f81 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -2,7 +2,7 @@ /** * Plugin Name: Staffords Employment * Description: Online Employment Application for Staffords - * Version: 0.3.1 + * Version: 0.3.2 * Author: Steve Sutton * Author URI: http://www.gaslightmedia.com * License: All right reserved -- 2.17.1