Make WordPress Core


Ignore:
Timestamp:
11/12/2003 03:22:47 PM (23 years ago)
Author:
emc3
Message:

otaku42's comment moderation patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r532 r546  
    144144                ?>             
    145145                <li style="border-bottom: 1px solid #ccc;">
     146                <?php
     147                        $comment_status = wp_get_comment_status($comment->comment_ID);
     148                       
     149                        if ("unapproved" == $comment_status) {
     150                                echo "<span class=\"unapproved\">";
     151                        }
     152                ?>
    146153                <p><strong>Name:</strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong>Email:</strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong>URI:</strong> <?php comment_author_url_link() ?> <?php } ?>| <strong>IP:</strong> <?php comment_author_IP() ?></p>
    147154               
Note: See TracChangeset for help on using the changeset viewer.