[wp-trac] [WordPress Trac] #14761: unregister_post_type()

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 23 22:57:06 UTC 2012


#14761: unregister_post_type()
-------------------------------------+-----------------------------
 Reporter:  nacin                    |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  lowest                   |   Milestone:  Future Release
Component:  Post Types               |     Version:  2.9
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+-----------------------------
Changes (by MikeSchinkel):

 * cc: MikeSchinkel (added)


Comment:

 Replying to [comment:28 nacin]:
 > The other types, revisions, attachments, and nav menu items, should
 probably never be allowed to be unregistered.

 Agreed on `'revision'` and `'attachment'` but you might consider
 `'nav_menu_item'` as something we can unregister. The current Nav Menu
 system is pretty heavy and for fully custom commissioned themes some
 professional site builders are just building menus directly into the
 themes since their designs don't anticipate new menu items without
 developer involvement.  For those situations it would be nice to be able
 to fully disable the Nav Menu systems.

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


More information about the wp-trac mailing list