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. Built from https://develop.svn.wordpress.org/trunk@31200 git-svn-id: http://core.svn.wordpress.org/trunk@31181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -428,7 +428,7 @@ foreach ( $theme_sidebars as $sidebar => $registered_sidebar ) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form action="" method="post">
|
||||
<form method="post">
|
||||
<?php wp_nonce_field( 'save-sidebar-widgets', '_wpnonce_widgets', false ); ?>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
||||
Reference in New Issue
Block a user