[wp-trac] [WordPress Trac] #36411: Missing admin menu for custom taxonomy

WordPress Trac noreply at wordpress.org
Mon Apr 4 22:07:32 UTC 2016


#36411: Missing admin menu for custom taxonomy
--------------------------+------------------------------
 Reporter:  jadpm         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by johnbillion):

 Test code which shows the expected behaviour when two submenus are in
 place:

 {{{
 add_action( 'init', function() {
         register_post_type( 'foo', [
                 'public'          => true,
                 'show_ui'         => true,
                 'capability_type' => 'do_not_allow',
         ] );

         register_taxonomy( 'bar', 'foo', [
                 'public'  => true,
                 'show_ui' => true,
         ] );

         register_taxonomy( 'baz', 'foo', [
                 'public'  => true,
                 'show_ui' => true,
         ] );
 });
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36411#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list