[wp-trac] [WordPress Trac] #7505: Comment meta + API
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 13 03:13:05 GMT 2008
#7505: Comment meta + API
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.7
Severity: normal | Keywords: dev-feedback needs-patch
--------------------------+-------------------------------------------------
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...
--
Ticket URL: <http://trac.wordpress.org/ticket/7505>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list