Check that the taxonomy exists (for that post type) in more places
|Reported by:||nacin||Owned by:|
|Component:||Posts, Post Types||Keywords:|
I just tried to unregister the category taxonomy ( unset( $wp_taxonomies['category'] ); on init, more or less) for posts.
This is how I found , as the tags column disappeared.
We should modify get_post_class() to check if the object is in the taxonomy first, as custom post types may want to utilize that.
Template tags, for the most part, return empty strings on failure, but judging by the number of PHP errors I got, there were some issues in those and elsewhere.
I'd like to think that twentyten should do more checking, but that makes the theme functions even more complicated than they already are.
Unregistering categories only for posts (leaving the taxonomy itself intact) it seems to prevent most errors.