mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed getting active tab;
This commit is contained in:
@@ -342,10 +342,9 @@ if ( ! class_exists( 'um\core\Profile' ) ) {
|
||||
} else {
|
||||
if ( ! empty( $tabs ) ) {
|
||||
foreach ( $tabs as $k => $tab ) {
|
||||
if ( ! empty( $tab['hidden'] ) ) {
|
||||
$this->active_tab = $k;
|
||||
break;
|
||||
}
|
||||
// set first tab in order
|
||||
$this->active_tab = $k;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user