Index: wp-admin/edit-pages.php
===================================================================
--- wp-admin/edit-pages.php	(revision 7246)
+++ wp-admin/edit-pages.php	(working copy)
@@ -34,9 +34,6 @@
 $title = __('Pages');
 $parent_file = 'edit.php';
 wp_enqueue_script('admin-forms');
-if ( 1 == $_GET['c'] )
-	wp_enqueue_script( 'admin-comments' );
-require_once('admin-header.php');
 
 $post_stati  = array(	//	array( adj, noun )
 		'publish' => array(__('Published'), __('Published pages'), __('Published (%s)')),
@@ -54,6 +51,15 @@
 	$post_status_q .= '&perm=readable';
 }
 
+$query_str = "post_type=page&orderby=menu_order title&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc";
+
+$query_str = apply_filters('manage_pages_query', $query_str);
+wp($query_str);
+
+if ( is_singular() )
+	wp_enqueue_script( 'admin-comments' );
+require_once('admin-header.php');
+
 ?>
 <div class="wrap">
 <form id="posts-filter" action="" method="get">
@@ -122,11 +128,7 @@
 <br style="clear:both;" />
 
 <?php
-$query_str = "post_type=page&orderby=menu_order title&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc";
 
-$query_str = apply_filters('manage_pages_query', $query_str);
-wp($query_str);
-
 $all = !( $h2_search || $post_status_q );
 
 if ($posts) {
@@ -164,7 +166,7 @@
 
 <?php
 
-if ( 1 == count($posts) && isset( $_GET['page_id'] ) ) :
+if ( 1 == count($posts) && is_singular() ) :
 
 	$comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date");
 	if ( $comments ) :
