Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Hide empty categories in categories block. #13549
This PR uses hide_empty option during categories request to make sure categories that have no posts are not displayed in the categories block edit view. On the frontend, they are not rendered so the edit view should replicate that.
Some categories may still show zero as a count. That happens because these categories have descendant categories with posts associated to them.
How has this been tested?
Add the categories block.