Dashboard: 2 submit buttons don't need names.
Props garyc40, gizburdt. Fixes #16345. git-svn-id: https://develop.svn.wordpress.org/trunk@34382 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3a00b7c5f0
commit
f543c65320
@ -403,7 +403,7 @@ function wp_network_dashboard_right_now() {
|
||||
<p>
|
||||
<label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/>
|
||||
<?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
|
||||
<?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@ -411,7 +411,7 @@ function wp_network_dashboard_right_now() {
|
||||
<p>
|
||||
<label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/>
|
||||
<?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
|
||||
<?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?>
|
||||
</p>
|
||||
</form>
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user