[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 15:19:06 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 |
-------------------------+-----------------------
Changes (by Otto42):
* severity: normal => blocker
Comment:
Confirmed, reverting [22068] fixes the issue. Suggest adding a check to
have it ignore the "all" status. Something like:
{{{
elseif ( ! empty( $status ) && $status != 'all' )
}}}
on line 251.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21101#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list