Remove the new user_new_form hook from the network admin, pending further review. see #18709.
Built from https://develop.svn.wordpress.org/trunk@25631 git-svn-id: http://core.svn.wordpress.org/trunk@25548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2befec291f
commit
dfb46e5e2c
|
@ -99,11 +99,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?>
|
|||
<td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
//duplicate_hook
|
||||
do_action( 'user_new_form', 'add-new-user' );
|
||||
?>
|
||||
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
|
||||
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?>
|
||||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue