mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 05:03:33 +09:00
- fixed bbPress reccursive cycle on WP_Query;
This commit is contained in:
@@ -108,13 +108,13 @@ if ( ! class_exists( 'Query' ) ) {
|
||||
return $comments;
|
||||
|
||||
} else {
|
||||
|
||||
$custom_posts = new \WP_Query();
|
||||
$args['post_status'] = explode( ',', $args['post_status'] );
|
||||
|
||||
$custom_posts->query( $args );
|
||||
return $custom_posts;
|
||||
|
||||
return $custom_posts;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
|
||||
Reference in New Issue
Block a user