#59690 closed defect (bug) (fixed)
Add missing argument type for `supports` in `register_post_type()`
Reported by: | jeremyfelt | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
The supports
argument used when registering a post type with register_post_type()
is usually passed as an array of features. If not included, feature support defaults to "title" and "editor". If set to false
, no feature support is registered for the post type.
This support for false
is not currently documented.
Change History (4)
This ticket was mentioned in PR #5537 on WordPress/wordpress-develop by @jeremyfelt.
14 months ago
#1
#3
@
12 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 57150:
@SergeyBiryukov commented on PR #5537:
12 months ago
#4
Thanks for the PR! Merged in r57150.
Note: See
TracTickets for help on using
tickets.
Trac ticket: [](https://core.trac.wordpress.org/ticket/59690)