Bug fix for WP 4.4
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Jan 2016 18:32:32 +0000 (13:32 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Jan 2016 18:32:32 +0000 (13:32 -0500)
wordpress 4.4

you have to specify Null values for posible empty fields.

controllers/front.php
glm-employment.php

index fe32318..6900500 100644 (file)
@@ -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',
index 531212d..0994e39 100644 (file)
@@ -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