[wp-trac] [WordPress Trac] #14761: unregister_post_type()
WordPress Trac
noreply at wordpress.org
Tue May 19 02:32:37 UTC 2015
#14761: unregister_post_type()
-----------------------------------------+-----------------------------
Reporter: nacin | Owner: chriscct7
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-patch early 4.4-early | Focuses:
-----------------------------------------+-----------------------------
Comment (by chriscct7):
Replying to [comment:29 MikeSchinkel]:
> 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.
That's an interesting point of view. The problem with that is it could
have unintended circumstances, but I'll take a look at it after 4.3 is
out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14761#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list