edit.php should check for show_ui, not public
|Reported by:||nacin||Owned by:|
|Component:||Posts, Post Types||Keywords:||2nd-opinion|
If you give a post type show_ui = true, but don't set public, you can't get into edit.php?post_type=mytype, even though it shows it in the admin UI.
Catch is, show_ui is false for posts and pages. We'd have to account for them manually.
Maybe show_ui should be true for posts and pages, and then account for them manually in menu.php instead.