Fix comments status in comment tab

This commit is contained in:
champsupertramp
2016-07-13 11:21:18 +08:00
parent 924e52e18a
commit 2c99004610
+1 -1
View File
@@ -91,7 +91,7 @@ class UM_Query {
if ( $post_type == 'comment' ) { // comments
unset( $args['post_type'] );
unset( $args['post_status'] );
$args['type__not_in'] = apply_filters( 'um_excluded_comment_types', array('') );
$comments = get_comments($args);