[wp-trac] [WordPress Trac] #15218: Publish box (inner-sidebar) hidden in custom posts without show_ui

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 26 08:21:16 UTC 2010


#15218: Publish box (inner-sidebar) hidden in custom posts without show_ui
--------------------------+-------------------------------------------------
 Reporter:  5ubliminal    |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.1  
Component:  Post Types    |     Version:  3.0.1
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
Changes (by nacin):

  * severity:  blocker => normal
  * milestone:  Awaiting Review => 3.1


Comment:

 The bug you found is that post.php is accessible without show_ui.

 show_ui is supposed to control edit.php and post.php.

 In 3.1 there is show_in_menu that allows you to remove it from the menu.
 (#14145)

 There is currently no way to disable edit.php and keep post.php however,
 you'd have to do that using hooks and a manual wp_die() as appropriate.
 How would you access the editor without going from a list of posts?

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


More information about the wp-trac mailing list