git-svn-id: http://svn.automattic.com/wordpress/trunk@2096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1fb563136b
commit
e963f0fe5a
|
@ -47,7 +47,7 @@ foreach ($scheduled as $post) {
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( $comments = $wpdb->get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments ORDER BY comment_date_gmt DESC LIMIT 5") ) :
|
if ( $comments = $wpdb->get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 5") ) :
|
||||||
?>
|
?>
|
||||||
<div>
|
<div>
|
||||||
<h3><?php _e('Comments'); ?> <a href="edit-comments.php" title="<?php _e('More comments...'); ?>">»</a></h3>
|
<h3><?php _e('Comments'); ?> <a href="edit-comments.php" title="<?php _e('More comments...'); ?>">»</a></h3>
|
||||||
|
|
Loading…
Reference in New Issue