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: http://svn.automattic.com/wordpress/trunk@15055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-29 16:35:24 +00:00
parent fc172d4d9a
commit 98d82faab5

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">