[wp-trac] [WordPress Trac] #12668: Better support for custom comment types
WordPress Trac
noreply at wordpress.org
Mon Oct 13 22:05:46 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: | Focuses:
-------------------------+------------------------------
Comment (by mordauk):
[https://core.trac.wordpress.org/attachment/ticket/12668/12668-2.patch
12668-2.patch] is a first pass at adding some preliminary support. It has
two changes:
1. Adds a `$comment_type` parameter to `get_approved_comments()` (an old
function not really used any more but there for backwards compatibility).
2. Adds support for passing an array of comment types to
`WP_Comment_Query` instead of just a single type.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12668#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list