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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 15 03:05:48 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:               |
-------------------------+------------------------------
Changes (by sc0ttkclark):

 * cc: lol@… (added)


Comment:

 My patch would basically contain a change to this line:

 http://core.trac.wordpress.org/browser/tags/3.4.1/wp-
 includes/post.php#L1023

 {{{
 } else {
 }}}

 to:

 {{{
 }
 elseif ( false !== $args->supports ) {
 }}}

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


More information about the wp-trac mailing list