I'm using a Custom Post Type product with the Custom Taxonomy product_category. When editing a product in WordPress, there is a problem with displaying the product categories tree view right.
When an item is checked, it will move to the top of the list. When this item is a top level category, the child categories stay in the same spot in the list and therefore aren't shown correctly.
When an subcategory is selected, it will also move to the top of the list. It isn't shown in the tree view anymore.
Before selecting: O - A O - A.1 O - A.2 O - A.3 O - B O - B.1 O - B.2 O - B.3 After selecting: X - A.2 X - B O - A O - A.1 O - A.3 O - B.1 O - B.2 O - B.3 O = unchecked X = checked
I thinks it's a WordPress bug but I can't find the problem in the WordPress core files. Does anyone know a solution?