mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
In HTML5, the action attribute is no longer required. Remove this attribute when empty.
The admin HTML is served with the HTML5 doctype. "The action and formaction content attributes, if specified, must have a value that is a valid non-empty URL potentially surrounded by spaces." http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fs-action Props voldemortensen. Fixes #30126. git-svn-id: https://develop.svn.wordpress.org/trunk@31200 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -280,7 +280,7 @@ if ( is_multisite() ) {
|
||||
$type = 'text';
|
||||
}
|
||||
?>
|
||||
<form action="" method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php
|
||||
<form method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php
|
||||
/**
|
||||
* Fires inside the adduser form tag.
|
||||
*
|
||||
@@ -334,7 +334,7 @@ if ( current_user_can( 'create_users') ) {
|
||||
echo '<h3 id="create-new-user">' . __( 'Add New User' ) . '</h3>';
|
||||
?>
|
||||
<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
|
||||
<form action="" method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php
|
||||
<form method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php
|
||||
/** This action is documented in wp-admin/user-new.php */
|
||||
do_action( 'user_new_form_tag' );
|
||||
?>>
|
||||
|
||||
Reference in New Issue
Block a user