mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed nav menu query;
This commit is contained in:
@@ -1661,6 +1661,7 @@ if ( ! class_exists( 'um\core\Access' ) ) {
|
||||
if ( ! empty( $menu_item->object_id ) && ! empty( $menu_item->object ) ) {
|
||||
if ( ! $this->is_restricted( $menu_item->object_id ) ) {
|
||||
$filtered_items[] = $menu_item;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user