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.

git-svn-id: https://develop.svn.wordpress.org/trunk@15055 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-29 16:35:24 +00:00
parent e89212637d
commit 18eb27afd2

View File

@ -186,15 +186,15 @@ function list_plugin_updates() {
<table class="widefat" cellspacing="0" id="update-plugins-table"> <table class="widefat" cellspacing="0" id="update-plugins-table">
<thead> <thead>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th>
<th scope="col" class="manage-column"><?php _e('Select All'); ?></th> <th scope="col" class="manage-column"><label for="plugins-select-all"><?php _e('Select All'); ?></label></th>
</tr> </tr>
</thead> </thead>
<tfoot> <tfoot>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></label></th>
<th scope="col" class="manage-column"><?php _e('Select All'); ?></th> <th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e('Select All'); ?></label></th>
</tr> </tr>
</tfoot> </tfoot>
<tbody class="plugins"> <tbody class="plugins">
@ -259,15 +259,15 @@ function list_theme_updates() {
<table class="widefat" cellspacing="0" id="update-themes-table"> <table class="widefat" cellspacing="0" id="update-themes-table">
<thead> <thead>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th>
<th scope="col" class="manage-column"><?php _e('Theme'); ?></th> <th scope="col" class="manage-column"><label for="themes-select-all"><?php _e('Select All'); ?></label></th>
</tr> </tr>
</thead> </thead>
<tfoot> <tfoot>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
<th scope="col" class="manage-column"><?php _e('Theme'); ?></th> <th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e('Select All'); ?></label></th>
</tr> </tr>
</tfoot> </tfoot>
<tbody class="plugins"> <tbody class="plugins">