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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 15 05:54:34 UTC 2012


#21586: Telling register_post_type to not support anything
-------------------------+------------------------------
 Reporter:  sc0ttkclark  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Post Types   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by markoheijnen):

 Had this once and inserted the string 'false' as a value what does work
 since it isn't existing.

 Wouldn't it be better to have array('title', 'editor') in the defaults
 array. That will remove the if/else check.

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


More information about the wp-trac mailing list