Fix over-aggressive form validation. Props mdawaffe. fixes #6209

git-svn-id: https://develop.svn.wordpress.org/trunk@7384 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-18 19:20:18 +00:00
parent 5390765e9d
commit 000eee5dab
8 changed files with 14 additions and 14 deletions

View File

@@ -398,7 +398,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
else
echo '<p>' . sprintf(__('Users cannot currently <a href="%1$s">register themselves</a>, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '</p>';
?>
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:users:">
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:users: validate">
<?php wp_nonce_field('add-user') ?>
<table class="form-table">
<tr class="form-field form-required">