[wp-trac] [WordPress Trac] #20571: problems with slug and view in custom post types
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 29 23:27:56 UTC 2012
#20571: problems with slug and view in custom post types
--------------------------+-----------------------------
Reporter: thomask | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version: 3.3.1
Severity: minor | Keywords: needs-patch
--------------------------+-----------------------------
when creating custom post type, there are 2 minor problems
1. when setting rewrite to false, it is not possible to edit slug (edit
button missing) - this is wrong as slug is needed e.g. for get_post
queries by name
2. if the post is set '''not''' publicly_queryable, then anyway the post
edit screen shows "View [custom post name]" and "Preview" button, which
then points to 404 screen.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20571>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list