mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 03:36:28 +09:00
- fix $located checking
This commit is contained in:
@@ -3084,7 +3084,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
|
||||
if ( isset( $located['empty'] ) ) {
|
||||
continue;
|
||||
} elseif ( ! empty( $located ) && ! isset( $located['exist'] ) ) {
|
||||
} elseif ( ! empty( $located ) && ! isset( $located['empty'] ) ) {
|
||||
$theme_file = $located['theme'];
|
||||
} elseif ( file_exists( get_stylesheet_directory() . '/ultimate-member/templates/' . $file ) ) {
|
||||
$theme_file = get_stylesheet_directory() . '/ultimate-member/templates/' . $file;
|
||||
|
||||
Reference in New Issue
Block a user