diff --git a/vip-support/class-vip-support-user.php b/vip-support/class-vip-support-user.php index bb1ff23df7..b5a9a9c49b 100644 --- a/vip-support/class-vip-support-user.php +++ b/vip-support/class-vip-support-user.php @@ -1055,7 +1055,7 @@ public static function remove( $user_id, $by = 'email' ) { // Never remove the machine user. if ( ( defined( 'WPCOM_VIP_MACHINE_USER_LOGIN' ) && \WPCOM_VIP_MACHINE_USER_LOGIN === $user->user_login ) || - ( defined( 'WPCOM_VIP_MACHINE_USER_EMAIL' ) && \WPCOM_VIP_MACHINE_USER_LOGIN === $user->user_email ) + ( defined( 'WPCOM_VIP_MACHINE_USER_EMAIL' ) && \WPCOM_VIP_MACHINE_USER_EMAIL === $user->user_email ) ) { return new WP_Error( 'not-removing-machine-user', 'WPCOM VIP machine user cannot be removed!' ); }