projects
/
WP-Plugins
/
glm-employment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25bf392
)
get correct post type
prestonFeather
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 24 May 2016 13:31:15 +0000
(09:31 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 24 May 2016 13:31:15 +0000
(09:31 -0400)
models/job.php
patch
|
blob
|
history
diff --git
a/models/job.php
b/models/job.php
index
21eb477
..
13b41d3
100644
(file)
--- a/
models/job.php
+++ b/
models/job.php
@@
-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))),