Associate lables with form fields. Fixes #6859 props MarcoZ.

git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2008-05-04 10:37:06 +00:00
parent 38bcb99561
commit f70f8d56cc
39 changed files with 192 additions and 166 deletions

View File

@@ -22,9 +22,9 @@ require_once ('admin-header.php');
<table class="form-table">
<tr>
<th><?php _e('Restrict Author'); ?></th>
<th><label for="author"><?php _e('Restrict Author'); ?></label></th>
<td>
<select name="author">
<select name="author" id="author">
<option value="all" selected="selected"><?php _e('All Authors'); ?></option>
<?php
$authors = $wpdb->get_col( "SELECT post_author FROM $wpdb->posts GROUP BY post_author" );