From: Steve Sutton Date: Thu, 19 Nov 2015 15:07:02 +0000 (-0500) Subject: update post messages X-Git-Tag: v0.0.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6d039b2cced9f4a19e0060f53aa58324b284c6cf;p=WP-Plugins%2Fstaffords-employment.git update post messages --- diff --git a/glm-employment.php b/glm-employment.php index 781860f..2c4e234 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -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 diff --git a/models/job.php b/models/job.php index 9672593..3905b29 100644 --- a/models/job.php +++ b/models/job.php @@ -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. View item'), esc_url(get_permalink($post_ID))),