update post messages
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 19 Nov 2015 15:07:02 +0000 (10:07 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 19 Nov 2015 15:07:02 +0000 (10:07 -0500)
glm-employment.php
models/job.php

index 781860f..2c4e234 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Plugin Name: Staffords Employment
  * Description: Online Employment Application for Staffords
- * Version: 1.0.7
+ * Version: 0.0.1
  * Author: Steve Sutton
  * Author URI: http://www.gaslightmedia.com
  * License: All right reserved
index 9672593..3905b29 100644 (file)
@@ -328,7 +328,7 @@ class staffords_employment_job
             'menu_name'          => 'Jobs'
         );
         $args   = array(
-//            'label'           => __('Jobs'),
+            'label'           => __('Jobs'),
             'labels'          => $labels,
             'description'     => 'Stores Jobs and Job data',
             'public'          => true,
@@ -367,7 +367,7 @@ class staffords_employment_job
     {
         global $post, $post_ID;
 
-        $messages['post'] = array(
+        $messages['staffords_jobs'] = array(
             0  => '', // Unused. Messages start at index 1.
             1  => sprintf(__('Job updated. <a href="%s">View item</a>'),
                              esc_url(get_permalink($post_ID))),