mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 17:50:03 +00:00
http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000145 and a few other hardcoded styles.
git-svn-id: https://develop.svn.wordpress.org/trunk@1454 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -120,9 +120,9 @@ if ('view' == $mode) {
|
||||
</tr>';
|
||||
foreach ($comments as $comment) {
|
||||
$authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = $comment->comment_post_ID"));
|
||||
$bgcolor = ('#eee' == $bgcolor) ? 'none' : '#eee';
|
||||
$class = ('alternate' == $class) ? '' : 'alternate';
|
||||
?>
|
||||
<tr style='background-color: <?php echo $bgcolor; ?>'>
|
||||
<tr class='<?php echo $class; ?>'>
|
||||
<td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td>
|
||||
<td><?php comment_author_link() ?></td>
|
||||
<td><?php comment_author_email_link() ?></td>
|
||||
|
||||
Reference in New Issue
Block a user