diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index c814a591cf..c9296f42a3 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -179,8 +179,7 @@ if ($comments) { $post = get_post($comment->comment_post_ID); $authordata = get_userdata($post->post_author); $the_comment_status = wp_get_comment_status($comment->comment_ID); - $class = ('alternate' == $class) ? '' : ''; - $class .= ('unapproved' == $the_comment_status) ? ' unapproved' : ''; + $class = ('unapproved' == $the_comment_status) ? 'unapproved' : ''; $post_link = '' . get_the_title($comment->comment_post_ID) . ''; $author_url = get_comment_author_url(); if ( 'http://' == $author_url ) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 0d6cef77d8..015795a33b 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -33,7 +33,6 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) { $title = __('Pages'); $parent_file = 'edit.php'; -wp_enqueue_script( 'wp-lists' ); wp_enqueue_script('admin-forms'); require_once('admin-header.php'); @@ -139,7 +138,7 @@ if ($posts) { -
+ diff --git a/wp-admin/edit-post-rows.php b/wp-admin/edit-post-rows.php index 46a14752b5..6f0fbe6a53 100644 --- a/wp-admin/edit-post-rows.php +++ b/wp-admin/edit-post-rows.php @@ -10,15 +10,13 @@ - + \n\t\n"; // Hack! $class = ( $i_post > 15 || 'alternate' == $class) ? '' : 'alternate'; global $current_user; $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); @@ -165,7 +163,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'control_delete': ?> -' . sprintf(__('Users cannot currently register themselves, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '
'; ?> -