diff --git wp-admin/user-new.php wp-admin/user-new.php
index 38b78dd..72fba5e 100644
|
|
if ( ! empty( $messages ) ) { |
303 | 303 | <div id="ajax-response"></div> |
304 | 304 | |
305 | 305 | <?php |
306 | | if ( is_multisite() ) { |
307 | | if ( $do_both ) |
| 306 | if ( is_multisite() && current_user_can( 'promote_users' ) ) { |
| 307 | if ( $do_both ) { |
308 | 308 | echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>'; |
309 | | if ( !is_super_admin() ) { |
| 309 | } |
| 310 | |
| 311 | if ( ! is_super_admin() ) { |
310 | 312 | echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; |
311 | 313 | $label = __('Email'); |
312 | 314 | $type = 'email'; |
… |
… |
do_action( 'user_new_form', 'add-existing-user' ); |
366 | 368 | } // is_multisite() |
367 | 369 | |
368 | 370 | if ( current_user_can( 'create_users') ) { |
369 | | if ( $do_both ) |
| 371 | if ( $do_both ) { |
370 | 372 | echo '<h2 id="create-new-user">' . __( 'Add New User' ) . '</h2>'; |
| 373 | } |
371 | 374 | ?> |
372 | 375 | <p><?php _e('Create a brand new user and add them to this site.'); ?></p> |
373 | 376 | <form method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php |