From 13519fd241fdb5efc1b0fdf7d1340930a29d29b5 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 3 Jan 2004 05:03:28 +0000 Subject: [PATCH] Comments number bug. git-svn-id: https://develop.svn.wordpress.org/trunk@701 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 2 +- wp-includes/template-functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 3a1f2c6c67..832fba4c4c 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -261,7 +261,7 @@ if ($posts) { foreach ($posts as $post) { start_wp(); ?>

- [ + [ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo " - get_var("SELECT COUNT(*) FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1'"); if ($number == 0) {