From 3880d933701aa4c5d30be402b1d80752354f4672 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 28 Feb 2008 00:13:09 +0000 Subject: [PATCH] Show comments when viewing a page in Manage Pages. fixes #6022 git-svn-id: http://svn.automattic.com/wordpress/trunk@7078 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-pages.php | 6 ++---- wp-admin/includes/template.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index fe68fa729..dbb91a7e1 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -122,9 +122,7 @@ endif; get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date"); if ($comments) { diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index d5aa9df7a..61c58e5fe 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -405,7 +405,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) { $pending_phrase = sprintf( __('%s pending'), number_format( $left ) ); if ( $left ) echo ''; - comments_number("" . __('0') . '', "" . __('1') . '', "" . __('%') . ''); + comments_number("" . __('0') . '', "" . __('1') . '', "" . __('%') . ''); if ( $left ) echo ''; ?>