From 66838ec2f832f8b196a74a2098944a52e068724f Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Wed, 30 Dec 2015 17:08:12 +0800 Subject: [PATCH] Remove notice --- core/um-short-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/um-short-functions.php b/core/um-short-functions.php index 6d94373c..c01a92f6 100644 --- a/core/um-short-functions.php +++ b/core/um-short-functions.php @@ -1168,6 +1168,7 @@ function um_user( $data, $attrs = null ) { case 'display_name': $op = um_get_option('display_name'); + $name = ''; if ( $op == 'default' ) { $name = um_profile('display_name');