Unable to add Taxonomies to custom post type taxonomies in 3.4.1
|Reported by:||lightmensendme||Owned by:||markjaquith|
This is reproducible in at least IE8 and FF 13.0.1, WordPress 3.4.1, and at least two separate domains.
Problem: We have a least two sites which have custom post types and taxonomies originally added by the Custom Post Type UI plugin, in which we are unable to add new taxonomies to. After disabling all plugins and putting the post type/taxonomy code directly into the functions.php file: we are still unable to add new taxonomies.
Reproduction: 1. Add a custom post type and a custom post type taxonomy. Add new custom post type "entry/post" from the admin menu or from the Dashboard sidebar. If is a hierarchical custom post type taxonomy, add a new custom post taxonomy. When the "Add New [Taxonomy]" button is pressed, the entered name in the taxonomy text field stays present, the add button seems to disappear from its location, and the add button is now displayed at the end of the custom post taxonomy list. The new taxonomy has not been added. (see image attached)
- Add a custom post type and a custom post type taxonomy. Add new custom post type "entry/post" from the admin menu or from the Dashboard sidebar. If is a hierarchical custom post type taxonomy, which already has taxonomy present, check several taxonomies. You will notice that there is "lag" in selecting these current taxonomies (IE8 at least).
- Although I have not been able to reproduce this, a client has mentioned that on an add custom post page where there is custom post taxonomy, the page is unusable and can eventually crash in IE8.
register_post_type('events', array( 'label' => 'Events','description' => '','public' => true,'show_ui' => true,'show_in_menu' => true,'capability_type' => 'post','hierarchical' => false,'rewrite' => array('slug' => ''),'query_var' => true,'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes',),'labels' => array ( 'name' => 'Events', 'singular_name' => 'Event', 'menu_name' => 'Events', 'add_new' => 'Add Event', 'add_new_item' => 'Add New Event', 'edit' => 'Edit', 'edit_item' => 'Edit Event', 'new_item' => 'New Event', 'view' => 'View Event', 'view_item' => 'View Event', 'search_items' => 'Search Events', 'not_found' => 'No Events Found', 'not_found_in_trash' => 'No Events Found in Trash', 'parent' => 'Parent Event', ),) ); register_taxonomy('event-city',array ( 0 => 'events', ),array( 'hierarchical' => true, 'label' => 'Locations','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'Location') );
Change History (34)
4 years ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed