Opened 3 years ago
Closed 3 years ago
#12644 closed defect (bug) (fixed)
docs missing for register_post_type()/add_post_type_support() feature supports
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Inline Docs | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | steph@…, unsalkorkmaz, mikeschinkel@… |
Description
The inline documentation for register_post_type() mentions the 'supports' argument and refers the reader to the add_post_type_support() docs... but there's nothing there. This is rather problematic for custom post type developers now that author, editor, and title are all optional.
I've pieced together what I think is a complete list of supported features for custom post types. Please double check me!
Attachments (2)
Change History (9)
comment:3
in reply to:
↑ 1
nacin
— 3 years ago
- Milestone changed from Unassigned to 3.0
- Status changed from new to accepted
Replying to sillybean:
Just let me know if there's anything missing. I'll add descriptions of each one later.
Based on a quick grep of 'post_type_supports', it looks like you caught them all.
comment:4
unsalkorkmaz
— 3 years ago
- Cc unsalkorkmaz added
post-thumbnails or thumbnail?
i am checking post and page register_post_type structure and both using thumbnail. If post-thumbnails is supported one, what is difference?
(sorry for newbie question, bad english)
Just let me know if there's anything missing. I'll add descriptions of each one later.