From b2f43caeb19a086dc9b3165c8f17fa21f775fbc5 Mon Sep 17 00:00:00 2001 From: Hoang Huu Date: Wed, 25 Sep 2019 13:12:42 +0700 Subject: [PATCH] Fix dashboard --- templates/user-management.php | 42 ++++++++++++++++------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/templates/user-management.php b/templates/user-management.php index fc0df229..e360178a 100755 --- a/templates/user-management.php +++ b/templates/user-management.php @@ -18,7 +18,7 @@ if ( ! class_exists( 'OpalEstate_User' ) ) { } get_header( 'no-sidebar' ); -$user_id = get_current_user_id(); +$user_id = get_current_user_id(); $current_user = wp_get_current_user(); $user_info = "{$current_user->display_name}"; @@ -34,26 +34,6 @@ if ( $current_user->display_name !== $current_user->user_login ) { - - -
@@ -81,7 +61,6 @@ if ( $current_user->display_name !== $current_user->user_login ) {
- @@ -90,6 +69,24 @@ if ( $current_user->display_name !== $current_user->user_login ) {
+ +
display_name !== $current_user->user_login ) {
-