[wp-trac] [WordPress Trac] #21586: Telling register_post_type to not support anything

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 06:16:51 UTC 2012


#21586: Telling register_post_type to not support anything
------------------------------+------------------
 Reporter:  sc0ttkclark       |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Post Types        |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback => has-patch commit
 * milestone:  Awaiting Review => 3.5


Comment:

 I feel like the original purpose of a default was to use it only if no
 'supports' arg was passed in at all. Setting array() should explicitly say
 "don't support anything."

 That might break too much random code — so, false seems good for now.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21586#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list