WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (9 years ago)
Author:
markjaquith
Message:

Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-list-table.php

    r15958 r16061  
    254254        echo "</select>\n";
    255255
    256         echo "<input type='submit' value='" . esc_attr__( 'Apply' ) . "' name='doaction$two' id='doaction$two' class='button-secondary action' />\n";
     256        submit_button( __( 'Apply' ), 'button-secondary action', "doaction$two", false );
     257        echo "\n";
    257258    }
    258259
Note: See TracChangeset for help on using the changeset viewer.