Comment meta + API
|Reported by:||Viper007Bond||Owned by:|
There is currently no good way to store extra information about commenters. Plugins like comment ratings, threaded comments (I assume), commenter country, etc. all must either modify the wp_comments table or use a table of their own to store the additional information.
I propose that we need a wp_commentmeta table that works similarly to the wp_postmeta table. I imagine that the current API could even just be extended a bit to have a "type" (post vs. comments) as to what it's modifying and some wrapper functions for each type. That way two separate APIs would not be needed.
Thoughts? I was tempted to post this to wp-hackers instead, but things there always go off on tangents, so...