get correct post type prestonFeather
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 24 May 2016 13:31:15 +0000 (09:31 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 24 May 2016 13:31:15 +0000 (09:31 -0400)
models/job.php

index 21eb477..13b41d3 100644 (file)
@@ -367,7 +367,7 @@ class glm_employment_job
     {
         global $post, $post_ID;
 
-        $messages['post'] = array(
+        $messages[GLM_EMP_POST_TYPE] = array(
             0  => '', // Unused. Messages start at index 1.
             1  => sprintf(__('Job updated. <a href="%s">View item</a>'),
                              esc_url(get_permalink($post_ID))),