[wp-trac] [WordPress Trac] #32182: register_taxonomy 'fields' hides pages in admin

WordPress Trac noreply at wordpress.org
Wed Apr 29 08:48:36 UTC 2015


#32182: register_taxonomy 'fields' hides pages in admin
--------------------------+-----------------------------
 Reporter:  shortye       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.2.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Registering a custom taxonomy 'fields' hides the pages list in the admin
 since 4.2.1 update

 {{{

 $labels = array(

         'name' => _x( 'Markets', 'taxonomy general name', 'mytheme'),
         'singular_name' => _x( 'Market', 'taxonomy singular name',
 'mytheme' ),
         'search_items' =>  __( 'Search Market', 'mytheme' ),
         'all_items' => __( 'All Markets', 'mytheme' ),
         'parent_item' => __( 'Parent Market', 'mytheme' ),
         'parent_item_colon' => __( 'Parent Market:', 'mytheme' ),
         'edit_item' => __( 'Edit Market', 'mytheme' ),
         'update_item' => __( 'Update Market', 'mytheme' ),
         'add_new_item' => __( 'Add New Market', 'mytheme' ),
         'new_item_name' => __( 'New Market', 'mytheme' ),
         'menu_name' => __( 'Markets', 'mytheme' )

 );

 register_taxonomy( 'fields', array('partner'), array(

         'hierarchical' => true,
         'labels' => $labels,
         'show_ui' => true,
         'query_var' => true,
         'public' => true,
         'rewrite' => array( 'slug' => 'markets' ),
 ));

 }}}

 Using any other taxonomy name works fine.
 Tested on a clean install of 4.2.1 with twentyfifteen

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32182>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list