From 06ae68c6966ee974fedc75ac2be4074db40b0cec Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 5 Jan 2016 13:32:32 -0500 Subject: [PATCH] Bug fix for WP 4.4 wordpress 4.4 you have to specify Null values for posible empty fields. --- controllers/front.php | 2 +- glm-employment.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/front.php b/controllers/front.php index fe32318..6900500 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -360,7 +360,7 @@ class staffords_employment_front 'fname' => $this->fname, 'lname' => $this->lname, 'mname' => $this->mname, - 'position' => $this->job + 'position' => (isset($this->job) ? $this->job : 'NULL') ), array( '%s', diff --git a/glm-employment.php b/glm-employment.php index 531212d..0994e39 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.3 + * Version: 0.3.4 * Author: Steve Sutton * Author URI: http://www.gaslightmedia.com * License: All right reserved -- 2.17.1