#19868 closed defect (bug) (wontfix)
Custom post type called 'preview' admin issues.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.3.1 |
| Severity: | normal | Keywords: | |
| 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)
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
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?)
comment:3
in reply to:
↑ 2
DrewAPicture — 16 months ago
- Keywords ui-feedback removed
Replying to pnomolos:
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?)
Reserved Terms list in the Codex.
comment:4
WraithKenny — 11 months ago
related #18263

'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'.