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:
Scott Taylor
2015-01-16 04:15:52 +00:00
parent c8c8b66bae
commit 83b6fad852
29 changed files with 42 additions and 42 deletions

View File

@@ -309,7 +309,7 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'locked', 'skipped', 'updated
<?php $wp_list_table->views(); ?>
<form id="posts-filter" action="" method="get">
<form id="posts-filter" method="get">
<?php $wp_list_table->search_box( $post_type_object->labels->search_items, 'post' ); ?>