mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed role dropdown filter;
- fixed clear filters with || condition;
This commit is contained in:
@@ -553,7 +553,7 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
||||
|
||||
$opt = $v;
|
||||
|
||||
if ( strstr( $filter, 'role_' ) ) {
|
||||
if ( strstr( $filter, 'role_' ) || $filter == 'role' ) {
|
||||
$opt = $k;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user