mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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:
@@ -167,7 +167,7 @@ if ( isset( $_GET['enabled'] ) ) {
|
||||
|
||||
<p><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p>
|
||||
|
||||
<form method="get" action="">
|
||||
<form method="get">
|
||||
<?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?>
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
||||
</form>
|
||||
|
||||
@@ -233,7 +233,7 @@ if ( isset($_GET['update']) ) :
|
||||
}
|
||||
endif; ?>
|
||||
|
||||
<form class="search-form" action="" method="get">
|
||||
<form class="search-form" method="get">
|
||||
<?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?>
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
||||
</form>
|
||||
|
||||
@@ -261,7 +261,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
<?php echo $msg; ?>
|
||||
|
||||
<form action="" method="get" id="ms-search">
|
||||
<form method="get" id="ms-search">
|
||||
<?php $wp_list_table->search_box( __( 'Search Sites' ), 'site' ); ?>
|
||||
<input type="hidden" name="action" value="blogs" />
|
||||
</form>
|
||||
|
||||
@@ -267,7 +267,7 @@ if ( isset( $_GET['enabled'] ) ) {
|
||||
|
||||
?>
|
||||
|
||||
<form method="get" action="">
|
||||
<form method="get">
|
||||
<?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?>
|
||||
</form>
|
||||
|
||||
@@ -278,7 +278,7 @@ if ( 'broken' == $status )
|
||||
echo '<p class="clear">' . __('The following themes are installed but incomplete. Themes must have a stylesheet and a template.') . '</p>';
|
||||
?>
|
||||
|
||||
<form method="post" action="">
|
||||
<form method="post">
|
||||
<input type="hidden" name="theme_status" value="<?php echo esc_attr($status) ?>" />
|
||||
<input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" />
|
||||
|
||||
|
||||
@@ -284,7 +284,7 @@ if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty(
|
||||
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
<form action="" method="get" class="search-form">
|
||||
<form method="get" class="search-form">
|
||||
<?php $wp_list_table->search_box( __( 'Search Users' ), 'all-user' ); ?>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user