We have set WordPress to assign a default category to new posts, as it does anyway by default. Yet, when I check in the database, there is no category set on e.g. a post I just created. Is this because WordPress adds this just via code, and not in the database?
I have a filter which shows posts based on some categories, and when the category isn't set in the database, the post isn't showing.
Is there something wrong, or do I have to find a way to work around this?
EDIT: The problem is that the category set as the default category doesn't appear on the posts in the database. Because of that, I can't filter posts by it.