Opened 14 years ago
Closed 14 years ago
#21747 closed defect (bug) (duplicate)
Hierarchical taxonomy names starting with 'even' cause JS conflicts
| Reported by: | netweblogic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.4.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Tested by a few independent users and easy to reproduce by pasting this in:
add_action('init','messed_up_categories',1);
function messed_up_categories(){
register_taxonomy('evenscrewy',array ( 0 => 'post'), array(
'hierarchical' => true,
'label' => 'Screwy Categories',
'show_ui' => true,
'query_var' => true,
'singular_label' => 'Screwy Category'
));
}
Cause:
Starting your taxonomy name with 'even' with any following combination of text will cause this issue, e.g. 'event-categories', 'events', 'eventcats' don't work, yet e.g. 'zeven' does.
Symptoms:
Go to your post (or any CPT) the above was added to and try creating a new category. When you click the 'add category' button, the button appears in the list of taxonomies instead of the new name.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#21106, #21152