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

WordPress Trac noreply at wordpress.org
Wed Oct 29 21:49:10 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    |     Focuses:
-------------------------+------------------------------

Comment (by boonebgorges):

 In [changeset:"30096"]:
 {{{
 #!CommitTicketReference repository="" revision="30096"
 Better flexibility for 'type' in `WP_Comment_Query`.

 * Add support for an array of values in 'type'.
 * Introduce `type__in` parameter. This duplicates 'type' but is added for
 better consistency with other query classes.
 * Introduce `type__not_in`.

 Among other things, these changes will make it easier for plugin authors
 to
 manage the appearance of custom comment types in various WP interfaces.

 Props dancameron, mordauk.
 See #12668.
 }}}

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


More information about the wp-trac mailing list