Only show users that can post.

git-svn-id: https://develop.svn.wordpress.org/trunk@1906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-01 16:03:28 +00:00
parent 61ce5ed685
commit 1b0631f515
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ if ('publish' != $post_status || 0 == $post_ID) {
<th scope="row" width="25%"><?php _e('Post slug') ?>:</th>
<td><input name="post_name" type="text" size="25" id="post_name" value="<?php echo $post_name ?>" /></td>
</tr>
<?php if ($user_level > 7 && $users = $wpdb->get_results("SELECT ID, user_login, user_firstname, user_lastname FROM $wpdb->users WHERE user_level <= $user_level") ) : ?>
<?php if ($user_level > 7 && $users = $wpdb->get_results("SELECT ID, user_login, user_firstname, user_lastname FROM $wpdb->users WHERE user_level <= $user_level AND user_level > 0") ) : ?>
<tr>
<th scope="row"><?php _e('Post author'); ?>:</th>
<td>