mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Improved load time
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ class UM_Fields {
|
||||
global $ultimatemember;
|
||||
|
||||
// preview in backend
|
||||
if ( $ultimatemember->user->preview ) {
|
||||
if ( isset( $ultimatemember->user->preview ) && $ultimatemember->user->preview ) {
|
||||
$submitted = um_user('submitted');
|
||||
if ( isset( $submitted[$key] ) && !empty( $submitted[$key] ) ) {
|
||||
return $submitted[$key];
|
||||
|
||||
Reference in New Issue
Block a user