diff options
Diffstat (limited to 'wp-admin/users.php')
| -rw-r--r-- | wp-admin/users.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wp-admin/users.php b/wp-admin/users.php index beee060..43f9d71 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -355,6 +355,9 @@ case 'addexistinguser': } header("Location: $location"); die(); + } else { + header('Location: users.php?update=notfound' ); + die(); } } header('Location: users.php'); @@ -428,6 +431,11 @@ default: <div id="message" class="updated fade"><p><?php _e('User not added. User is already registered.'); ?></p></div> <?php break; + case 'notfound': + ?> + <div id="message" class="updated fade"><p><?php _e('User not found. Please ask them to signup here first.'); ?></p></div> + <?php + break; } endif; ?> |
