Opened 14 months ago
Last modified 14 months ago
#20571 new defect (bug)
problems with slug and view in custom post types
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Post Types | Version: | 3.3.1 |
| Severity: | minor | Keywords: | needs-patch |
| Cc: | johnbillion |
Description
when creating custom post type, there are 2 minor problems
- 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
- 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.
Change History (2)
comment:1
SergeyBiryukov
— 14 months ago
comment:2
johnbillion
— 14 months ago
- Cc johnbillion added
Note: See
TracTickets for help on using
tickets.
Related: #20098