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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 10:15:36 UTC 2012


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

Comment (by dd32):

 I'm curious as to why the notion of introducing an extra query var in
 place of status is really needed in this case?

 I don't see any discussion here as to why one was chosen over the other,
 and as more people start using custom comment types with improving API's,
 I think it's going to fast become confusing for some, especially for
 example, when the extra query variable offers no obvious benefit over
 something such as
 [http://core.trac.wordpress.org/attachment/ticket/21101/21101.diff
 21101.diff] to the untrained eye.

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


More information about the wp-trac mailing list