projects
/
WP-Plugins
/
staffords-employment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570cc4f
)
Make it so the page is not publicly queryable
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 29 Jan 2019 20:17:34 +0000
(15:17 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 29 Jan 2019 20:17:34 +0000
(15:17 -0500)
Only using the correct url can the detail page be seen.
models/job.php
patch
|
blob
|
history
diff --git
a/models/job.php
b/models/job.php
index
1d62382
..
e740ace
100644
(file)
--- a/
models/job.php
+++ b/
models/job.php
@@
-344,7
+344,7
@@
class staffords_employment_job
'show_in_menu' => true,
'show_ui' => true,
'query_var' => true,
- 'publicly_queryable' =>
tru
e
+ 'publicly_queryable' =>
fals
e
);
register_post_type(STAFFORDS_EMP_POST_TYPE, $args);
register_taxonomy_for_object_type(STAFFORDS_EMP_TAX_CATEGORIES,