What are the additional fields in wp_comments used for?

comment_karma

This field is used by a few plug-ins to help you manage your comments. There are a few good articles explaining its exact use floating around on the Internet. But you should note that this field is actually just not used. As Mark Jaquith said once, it’s a “there if you want to use it this.”

There was a short movement to remove it for version 3.1 … but since some systems still hook onto it, it’s staying there for now.

comment_type

Is this a comment, a trackback, or a pingback? This helps theme devs separate out the different types of “comments” in the front-end display.

comment_approved

Is the comment pending moderation, spam, or approved by the author? Just helps you manage what is and isn’t OK for display on the site.

Leave a Comment