Make WordPress Core

Ticket #16345: 16345-dashboard.diff

File 16345-dashboard.diff, 1.0 KB (added by gizburdt, 11 years ago)

Only dashboard.php needed to be changed

  • wp-admin/includes/dashboard.php

     
    441441        <form action="<?php echo network_admin_url('users.php'); ?>" method="get">
    442442                <p>
    443443                        <input type="search" name="s" value="" size="30" autocomplete="off" />
    444                         <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
     444                        <?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?>
    445445                </p>
    446446        </form>
    447447
    448448        <form action="<?php echo network_admin_url('sites.php'); ?>" method="get">
    449449                <p>
    450450                        <input type="search" name="s" value="" size="30" autocomplete="off" />
    451                         <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
     451                        <?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?>
    452452                </p>
    453453        </form>
    454454<?php