<?php
_e( 'Add New User'
); ?></h1>
<?php
if ( '' !==
$message ) { echo '<div id="message" class="notice notice-success is-dismissible"><p>' .
$message . '</p></div>';
}if ( isset( $add_user_errors ) &&
is_wp_error( $add_user_errors ) ) { ?>
<div id="message" class="notice notice-error is-dismissible">
<?php
foreach ( $add_user_errors->
get_error_messages() as $error ) { echo "<p>
$error</p>";
} ?>
</div>
<?php
} ?>
<form action="<?php
echo esc_url( network_admin_url( 'user-new.php?action=add-user'
) ); ?>" id="adduser" method="post" novalidate="novalidate">
<p><?php
echo wp_required_field_message(); ?></p>
<table class="form-table" role="presentation">
<tr class="form-field form-required">
<th scope="row"><label for="username"><?php
_e( 'Username'
); ?> <?php
echo wp_required_field_indicator(); ?></label></th>
<td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" maxlength="60" required="required" /></td>
</tr>
<tr class="form-field form-required">
<th scope="row"><label for="email">