From 1061d2e4140df766e7487347d5830afab64c31a8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 18 Apr 2010 16:49:18 +0000 Subject: [PATCH] Remove dead code. props azaozz, see #11882. git-svn-id: https://develop.svn.wordpress.org/trunk@14156 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index c02cc81613..a3411ab0dc 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1249,8 +1249,6 @@ function post_rows( $posts = array() ) { $post_ids[] = $a_post->ID; $comment_pending_count = get_pending_comments_num($post_ids); - if ( empty($comment_pending_count) ) - $comment_pending_count = array(); foreach ( $posts as $post ) { if ( empty($comment_pending_count[$post->ID]) )