[wp-trac] [WordPress Trac] #21106: Unable to add Taxonomies to custom post type taxonomies in 3.4.1
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 28 20:11:26 UTC 2012
#21106: Unable to add Taxonomies to custom post type taxonomies in 3.4.1
----------------------------+-----------------------------
Reporter: lightmensendme | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.4
Severity: major | Keywords:
----------------------------+-----------------------------
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)
2. 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).
3. 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.
Example functions.php
{{{
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') );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21106>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list