Categories list on post edit screen is not displaying empty categories.
|Reported by:||cavemonkey50||Owned by:||anonymous|
I've found that get_terms is not outputting terms which have a count of 0 in term_taxonomy. This can be a problem for newly created categories, causing them to be lost in the database if they're not added to a post immediately. Essentially, there is no way to display terms which are not assigned to objects, allowing for numerous orphaned terms in the database.
- Create a new category on a post
- Uncheck the category
- Save the post
- Category is missing, however database still shows the category, but there is no way to access it
Change History (3)
- Severity changed from major to normal
- Summary changed from get_terms is not displaying terms with a count of 0. to Categories list on post edit screen is not displaying empty categories.