From 7f8b548df1c8b7d454a50b74d3897e1d4987fe08 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 16 Jan 2015 04:16:24 +0000 Subject: [PATCH] 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 --- wp-admin/custom-background.php | 8 ++++---- wp-admin/edit-comments.php | 2 +- wp-admin/edit-tags.php | 4 ++-- wp-admin/edit.php | 2 +- wp-admin/export.php | 2 +- wp-admin/includes/class-wp-posts-list-table.php | 2 +- wp-admin/includes/class-wp-terms-list-table.php | 2 +- wp-admin/includes/dashboard.php | 2 +- wp-admin/includes/media.php | 2 +- wp-admin/includes/plugin-install.php | 6 +++--- wp-admin/includes/screen.php | 2 +- wp-admin/includes/template.php | 2 +- wp-admin/includes/theme-install.php | 4 ++-- wp-admin/includes/widgets.php | 2 +- wp-admin/link-manager.php | 2 +- wp-admin/media.php | 2 +- wp-admin/my-sites.php | 2 +- wp-admin/nav-menus.php | 4 ++-- wp-admin/network.php | 2 +- wp-admin/network/site-themes.php | 2 +- wp-admin/network/site-users.php | 2 +- wp-admin/network/sites.php | 2 +- wp-admin/network/themes.php | 4 ++-- wp-admin/network/users.php | 2 +- wp-admin/plugins.php | 4 ++-- wp-admin/upload.php | 2 +- wp-admin/user-new.php | 4 ++-- wp-admin/users.php | 6 +++--- wp-admin/widgets.php | 2 +- wp-includes/version.php | 2 +- 30 files changed, 43 insertions(+), 43 deletions(-) diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 71835763ec..9268562eb1 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -237,7 +237,7 @@ class Custom_Background { -
+
@@ -251,7 +251,7 @@ class Custom_Background { - +
@@ -262,7 +262,7 @@ class Custom_Background { - +


@@ -283,7 +283,7 @@ class Custom_Background {

- + diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index d1bf2b568d..1a4c78c8b6 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -224,7 +224,7 @@ if ( isset($_REQUEST['approved']) || isset($_REQUEST['deleted']) || isset($_REQU views(); ?> - +search_box( __( 'Search Comments' ), 'comment' ); ?> diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 74bb52bacd..af7f526824 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -311,7 +311,7 @@ if ( !empty($_REQUEST['s']) ) endif; ?>
- + @@ -324,7 +324,7 @@ endif; ?>
- + diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 5798c98d4a..93d7d0e82c 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -309,7 +309,7 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'locked', 'skipped', 'updated views(); ?> - + search_box( $post_type_object->labels->search_items, 'post' ); ?> diff --git a/wp-admin/export.php b/wp-admin/export.php index 0df62a80e4..a12ddb9f30 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -150,7 +150,7 @@ function export_date_options( $post_type = 'post' ) {

- +

diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 28287cf470..3c035a7fb0 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -961,7 +961,7 @@ class WP_Posts_List_Table extends WP_List_Table { ?> -
+
-
+