Duplicate post Tags UI for other taxonomies
|Reported by:||tellyworth||Owned by:||anonymous|
This duplicates the Tags postbox UI (with the Add button and X to remove) for all non-hierarchical post taxonomies.
No doubt js experts will find it crude in spots but it works. I've left in two register_taxonomy() calls that I used for testing, lines 209 and 210 of edit-form-advanced.php. They're useful for testing this patch but should obviously be removed for production.
There's no real code for fetching or saving taxonomies other than post_tag. That should probably be included but requires some careful fitting with get_tags_to_edit() and friends so I've left it out for now. I added a quick filter as a crude fetch hook but it should probably be replaced with something more solid.