[wp-trac] [WordPress Trac] #21101: Allow get_comments() to query for explicit value of comment_approved

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 28 19:56:30 UTC 2012


#21101: Allow get_comments() to query for explicit value of comment_approved
-------------------------+-----------------------
 Reporter:  nbachiyski   |       Owner:  westi
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.5
Component:  Comments     |     Version:  3.4
 Severity:  blocker      |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by nacin):

 Seems like we are doing it wrong. "All" in 3.4 would have returned only 0
 or 1. That isn't "all".

 We should fix our arguments, or something. Passing "all" should not
 specify *any* where.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21101#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list