mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
Fix comments status in comment tab
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user