[wp-trac] [WordPress Trac] #13403: edit.php should check for show_ui, not public

WordPress Trac wp-trac at lists.automattic.com
Sat May 15 18:25:47 UTC 2010


#13403: edit.php should check for show_ui, not public
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  General       |     Version:             
 Severity:  normal        |    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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13403>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list