WordPress.org

Make WordPress Core

Changeset 17007


Ignore:
Timestamp:
12/16/2010 09:08:37 PM (7 years ago)
Author:
westi
Message:

Give the screen options Apply button an id so it validates.

File:
1 edited

Legend:

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

    r16964 r17007  
    18981898    if ( !empty($per_page_label) )
    18991899        $return .= "<input type='text' class='screen-per-page' name='wp_screen_options[value]' id='$option' maxlength='3' value='$per_page' /> <label for='$option'>$per_page_label</label>\n";
    1900     $return .= get_submit_button( __( 'Apply' ), 'button', '', false );
     1900    $return .= get_submit_button( __( 'Apply' ), 'button', 'screen-options-apply', false );
    19011901    $return .= "<input type='hidden' name='wp_screen_options[option]' value='" . esc_attr($option) . "' />";
    19021902    $return .= "</div>\n";
Note: See TracChangeset for help on using the changeset viewer.