Make WordPress Core

Changeset 34382


Ignore:
Timestamp:
09/22/2015 05:44:45 AM (9 years ago)
Author:
wonderboymusic
Message:

Dashboard: 2 submit buttons don't need names.

Props garyc40, gizburdt.
Fixes #16345.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r34040 r34382  
    404404            <label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label>
    405405            <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/>
    406             <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
     406            <?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?>
    407407        </p>
    408408    </form>
     
    412412            <label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label>
    413413            <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/>
    414             <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
     414            <?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?>
    415415        </p>
    416416    </form>
Note: See TracChangeset for help on using the changeset viewer.