From: Steve Sutton Date: Fri, 11 Dec 2015 18:36:46 +0000 (-0500) Subject: Fix for reply to email X-Git-Tag: v0.3.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3ce811b0cf8b8b01ac528463cc6375b4625cba46;p=WP-Plugins%2Fstaffords-employment.git Fix for reply to email Need to check this email also. --- 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