Make WordPress Core

Changeset 15055


Ignore:
Timestamp:
05/29/2010 04:35:24 PM (14 years ago)
Author:
nacin
Message:

Use correct label for a 'Select All' checkbox. props MichaelH. If we're going to have a label, it might as well actually work as well. fixes #13614.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r15054 r15055  
    187187    <thead>
    188188    <tr>
    189         <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    190         <th scope="col" class="manage-column"><?php _e('Select All'); ?></th>
     189        <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th>
     190        <th scope="col" class="manage-column"><label for="plugins-select-all"><?php _e('Select All'); ?></label></th>
    191191    </tr>
    192192    </thead>
     
    194194    <tfoot>
    195195    <tr>
    196         <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    197         <th scope="col" class="manage-column"><?php _e('Select All'); ?></th>
     196        <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></label></th>
     197        <th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e('Select All'); ?></label></th>
    198198    </tr>
    199199    </tfoot>
     
    260260    <thead>
    261261    <tr>
    262         <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    263         <th scope="col" class="manage-column"><?php _e('Theme'); ?></th>
     262        <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th>
     263        <th scope="col" class="manage-column"><label for="themes-select-all"><?php _e('Select All'); ?></label></th>
    264264    </tr>
    265265    </thead>
     
    267267    <tfoot>
    268268    <tr>
    269         <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    270         <th scope="col" class="manage-column"><?php _e('Theme'); ?></th>
     269        <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
     270        <th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e('Select All'); ?></label></th>
    271271    </tr>
    272272    </tfoot>
Note: See TracChangeset for help on using the changeset viewer.