[wp-trac] [WordPress Trac] #12668: Better support for custom comment types

WordPress Trac noreply at wordpress.org
Wed Oct 15 01:30:16 UTC 2014


#12668: Better support for custom comment types
----------------------------------------+------------------------------
 Reporter:  ptahdunbar                  |       Owner:  ptahdunbar
     Type:  enhancement                 |      Status:  reopened
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Comments                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by mordauk):

 Replying to [comment:60 boonebgorges]:
 > > For all intensive purposes, "all comment types" is the same as showing
 pingbacks, trackbacks, and standard comments (no explicit type).
 >
 > 'All Comment Types' sets the type to `''`, which results in a SQL query
 that doesn't filter by type at all. On a vanilla install, this is the same
 thing as pingbacks+trackbacks+comments. But if a plugin is creating
 comments with a custom type, they also show up on this filter. If we make
 the default behavior to show only the three core comment types, there'll
 be no way to see these comments at edit-comments.php.

 [https://core.trac.wordpress.org/attachment/ticket/12668/12668-comments-
 query.patch 12668-comments-query.patch] addresses that issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12668#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list