#19868 closed defect (bug) (wontfix)
Custom post type called 'preview' admin issues.
Reported by: | pnomolos | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
The admin css includes a general rule for the .preview class of { float: right }. If you have a custom post type of 'preview' then this css rule causes all sorts of issues when viewing the list of CPT Previews in the backend. Adding a tr.preview { float: none } rule should fix this.
Change History (4)
#1
@
13 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
#2
follow-up:
↓ 3
@
13 years ago
As a follow up to this, is there a listing anywhere of these "reserved" words (and has any thought been put in to not allowing them to be used for CPT names?)
Note: See
TracTickets for help on using
tickets.
'preview' can be considered a reserved word (it's used as a query var for previewing posts). You'll just have to add a prefix to your post type name, such as 'my_preview'.