Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a60c842ba6
commit
0f51431087
|
@ -113,8 +113,8 @@ wp_enqueue_script('password-strength-meter');
|
|||
|
||||
require_once ('admin-header.php');
|
||||
|
||||
if ( is_multisite() ) {
|
||||
switch( $_GET[ 'update' ] ) {
|
||||
if ( isset($_GET[ 'update' ]) && is_multisite() ) {
|
||||
switch ( $_GET[ 'update' ] ) {
|
||||
case "newuserconfimation":
|
||||
$messages[] = '<div id="message" class="updated fade"><p>' . __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.') . '</p></div>';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue