[wp-trac] [WordPress Trac] #12668: Better support for custom comment types
WordPress Trac
noreply at wordpress.org
Wed Oct 15 01:20: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:58 boonebgorges]:
> Some thoughts about core and default settings. Current behavior of the
Dashboard widget, edit-comments.php, WP_Widget_Recent_Comments is to show
all comment types. This is, of course, the very thing we're trying to
"fix". But there are probably many cases where the existing behavior is
being relied upon by users and by plugins. Changing the defaults for these
UIs so that only core comments appear has the potential to confuse. And in
the case of edit-comments.php, it's likely that in many cases, removing
non-core comments from this display will make it impossible for users to
moderate/edit custom comments. Some plugins will add their own interface,
or will filter `admin_comment_types_dropdown`, but many will not. We might
want to consider a more conservative route of keeping the current default
behavior, but providing more robust filters, so that plugins that add
custom comment types can easily exclude them from these interfaces. Do
others have thoughts about this?
For all intensive purposes, "all comment types" is the same as showing
pingbacks, trackbacks, and standard comments (no explicit type).
I'd propose we keep it that way by having `WP_Comment_Query` default to
showing just those three types if no type/s is set.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12668#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list