Remove the new user_new_form hook from the network admin, pending further review. see #18709.

git-svn-id: https://develop.svn.wordpress.org/trunk@25631 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-09-26 16:37:06 +00:00
parent 8a3df7d4b4
commit 4b8896d171

View File

@ -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> <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td>
</tr> </tr>
</table> </table>
<?php <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?>
//duplicate_hook
do_action( 'user_new_form', 'add-new-user' );
?>
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?> <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
</form> </form>
</div> </div>