From 6d039b2cced9f4a19e0060f53aa58324b284c6cf Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 19 Nov 2015 10:07:02 -0500 Subject: [PATCH] update post messages --- glm-employment.php | 2 +- models/job.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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))), -- 2.17.1