src/wp-admin/network/user-new.php 1 location
|
@@ 98-105 (lines=8) @@
|
| 95 |
|
echo '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>'; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?> |
| 99 |
|
<div class="error"> |
| 100 |
|
<?php |
| 101 |
|
foreach ( $add_user_errors->get_error_messages() as $message ) |
| 102 |
|
echo "<p>$message</p>"; |
| 103 |
|
?> |
| 104 |
|
</div> |
| 105 |
|
<?php } ?> |
| 106 |
|
<form action="<?php echo network_admin_url('user-new.php?action=add-user'); ?>" id="adduser" method="post" novalidate="novalidate"> |
| 107 |
|
<table class="form-table"> |
| 108 |
|
<tr class="form-field form-required"> |
src/wp-admin/user-new.php 1 location
|
@@ 302-309 (lines=8) @@
|
| 299 |
|
echo '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>'; |
| 300 |
|
} ?> |
| 301 |
|
|
| 302 |
|
<?php if ( isset($add_user_errors) && is_wp_error( $add_user_errors ) ) : ?> |
| 303 |
|
<div class="error"> |
| 304 |
|
<?php |
| 305 |
|
foreach ( $add_user_errors->get_error_messages() as $message ) |
| 306 |
|
echo "<p>$message</p>"; |
| 307 |
|
?> |
| 308 |
|
</div> |
| 309 |
|
<?php endif; ?> |
| 310 |
|
<div id="ajax-response"></div> |
| 311 |
|
|
| 312 |
|
<?php |