#12668 closed enhancement (maybelater)
Better support for custom comment types
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | mikeschinkel@…, unsalkorkmaz, johnbillion@…, bainternet, gruvii, mitcho@…, pippin@…, mike@…, dcowgill@…, gvenk |
Description
Similar to the improved support for custom post types #9674, we really need better support for custom comment types. At the database layer, this is completely supported and is used for post type comments, trackbacks and pingbacks. The code just needs to be decoupled into standard APIs.
Specifically, we'll need APIs for registering comment types, and comment statuses so the admin interface (edit-comments.php) can support them.
I'll be working on a patch, although feel free to provide your own patches, ideas and insights :)
Change History (17)
comment:1
mikeschinkel — 3 years ago
- Cc mikeschinkel@… added
comment:3
unsalkorkmaz — 3 years ago
- Cc unsalkorkmaz added
comment:4
johnbillion — 3 years ago
- Cc johnbillion@… added
comment:6
bainternet — 2 years ago
- Cc bainternet added
Would love to see comments in the wp_posts table. There are infinite possiblities especially taxonomies for the comments etc.
Replying to gruvii:
Would love to see comments in the wp_posts table. There are infinite possiblities especially taxonomies for the comments etc.
I don't see this ever happening. That said, you can already do taxonomies on comments. That it's difficult (and that you don't really know about it) is more about deficiencies in the taxonomy system rather than the comments system.
comment:10
in reply to:
↑ 2
mitchoyoshitaka — 22 months ago
- Cc mitcho@… added
Replying to nacin:
Cross-referencing #10856. Should be handled together.
I don't see why these two should be handled together. #10856 involves the migration/removal of a few columns from the comments table. This bug is about API's for comment type registration and handling... the comment_type column already exists.
comment:11
jane — 15 months ago
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from new to closed
Two years without a patch, so I'm closing. Reopen if there's a patch to be reviewed.
comment:12
nacin — 15 months ago
- Resolution wontfix deleted
- Status changed from closed to reopened
Re-closing as maybelater. If we do a comment/feedback loop in 3.5 or 3.6, this will almost certainly get hit.
comment:13
nacin — 15 months ago
- Resolution set to maybelater
- Status changed from reopened to closed
comment:14
follow-up:
↓ 15
mordauk — 5 months ago
- Cc pippin@… added
I'd love to see this discussed again. Here's an example of why I'd like to use it:
In Easy Digital Downloads, we use comments on our payments post type to track info related to individual purchases, and also for allowing store owners to leave notes about individual orders. Comments work exceptionally well for this, except they start showing up in recent comment widgets, which is not optimal, especially when notes may contain sensitive information.
I'd love to be able to register a custom comment type that would be automatically excluded from recent comment streams (since they would only pull in core comment types by default). This would give us a much more granular level of control.
comment:15
in reply to:
↑ 14
MikeSchinkel — 5 months ago
- Cc mike@… added
Replying to mordauk:
I'd love to see this discussed again.
+1. I'd like to build a plugin that uses comments for Twitter status updates tied to a Twitter Account periodic post (daily, weekly, monthly) with a parent post for Twitter account.
I'd also like to build another plugin that uses comments to manage support requests for a support ticketing system.
And another plugin that uses comments for suggested improvements to pages like how php.net has comments, but with the goal of improving the page, marking the suggestion complete, and then hiding the suggestion during normal page view. My use-case is for internal use for using WordPress for creating user documentation.
comment:16
dcowgill — 5 months ago
- Cc dcowgill@… added
comment:17
gvenk — 5 weeks ago
- Cc gvenk added

Interesting idea. If comments were moved to be in the wp_posts table with post_type='comment' then a lot of functionality would come for free?