[wp-trac] [WordPress Trac] #28434: Add 'fields' parameter to WP_Comment_Query

WordPress Trac noreply at wordpress.org
Wed Jul 9 18:16:59 UTC 2014

#28434: Add 'fields' parameter to WP_Comment_Query
 Reporter:  mordauk      |       Owner:  nacin
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.0
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:

Comment (by nacin):

 Reworked the tests to ensure we actually had integers. (If get_comments()
 returned objects and so did our factory create() method, this would have
 silently failed. Since our factory methods use core APIs under the hood,
 you never know.) Also used assertCount.

Ticket URL: <https://core.trac.wordpress.org/ticket/28434#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list