Opened 17 years ago
Closed 17 years ago
#10019 closed defect (bug) (fixed)
Custom Taxonomy edit page Javascript-add doesnt work
| Reported by: | dd32 | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Taxonomy | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The Custom Taxonomy edit page doesnt work as intended with Javascript additions.
The issue is that the taxonomy is not passed to _tag_row().
Code for testing:
add_action( 'init', 'theme_taxonomies', 5 );
function theme_taxonomies() {
register_taxonomy( 'people', 'post', array( 'hierarchical' => false, 'label' => 'People', 'query_var' => true, 'rewrite' => true ) );
}
Then visit the edit-tag.php?taxonomy=people and attempt to add a new item.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [11512]) Pass taxonomy to_tag_row() when adding tags via ajax. Props dd32. fixes #10019