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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 04:27:11 UTC 2011


#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  |
-------------------------------------+-----------------------------

Comment (by nacin):

 The simple workaround here -- particularly for built-in post types --
 would be to simply deny the capabilities to that post type, i.e. edit_post
 and friends or edit_page and friends.

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


More information about the wp-trac mailing list