[wp-trac] [WordPress Trac] #21586: Telling register_post_type to not support anything
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 13 17:02:40 UTC 2012
#21586: Telling register_post_type to not support anything
------------------------------+---------------------
Reporter: sc0ttkclark | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.5
Component: Post Types | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [21831]:
{{{
#!CommitTicketReference repository="" revision="21831"
Allow supports => false to be passed to register_post_type() to disable
the default title and editor.
An empty array may also disable all default features in the future.
Do not rely on this behavior: always specify title and editor if you want
them.
props sc0ttkclark.
fixes #21586.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21586#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list