WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 14 months ago

#20571 new defect (bug)

problems with slug and view in custom post types

Reported by: thomask 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

  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.

Change History (2)

comment:2 johnbillion14 months ago

  • Cc johnbillion added
Note: See TracTickets for help on using tickets.