[wp-trac] [WordPress Trac] #17609: 'View post' link shown even when post type can't be viewed on the front-end
WordPress Trac
noreply at wordpress.org
Fri Sep 18 20:41:28 UTC 2015
#17609: 'View post' link shown even when post type can't be viewed on the front-end
------------------------------------+--------------------------
Reporter: scribu | Owner: johnbillion
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+--------------------------
Comment (by bradyvercher):
Replying to [comment:56 johnbillion]:
> The post slug can still be edited by enabling the 'Slug' meta box in
Screen Options. This might even be a preferable UI for your plugin because
it doesn't suggest that the slug is used in a publicly accessible
permalink. Let me know what you think.
It actually is a publicly accessible permalink since it maps to the CPT
archive, which is why the existing UI works well. Would it be possible to
get a filter to enable that section manually instead of cutting off
access?
It's not the end of the world if the slug meta box has to be used, but
most users don't know it even exists or what it's used for.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17609#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list