[wp-trac] [WordPress Trac] #22040: wp_dashboard_recent_comments queries do not skip comment_approved=spam

WordPress Trac noreply at wordpress.org
Sat Feb 2 05:42:22 UTC 2013


#22040: wp_dashboard_recent_comments queries do not skip comment_approved=spam
--------------------------+------------------------------
 Reporter:  _ck_          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 If status is empty when passed to WP_Comment_Query, the resulting query is
 comment_approved = '0' OR comment_approved = '1'. Untested, but this
 ticket appears to be invalid.

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


More information about the wp-trac mailing list