Remove dead code. props azaozz, see #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
98b9ace627
commit
b4da392519
|
@ -1249,8 +1249,6 @@ function post_rows( $posts = array() ) {
|
||||||
$post_ids[] = $a_post->ID;
|
$post_ids[] = $a_post->ID;
|
||||||
|
|
||||||
$comment_pending_count = get_pending_comments_num($post_ids);
|
$comment_pending_count = get_pending_comments_num($post_ids);
|
||||||
if ( empty($comment_pending_count) )
|
|
||||||
$comment_pending_count = array();
|
|
||||||
|
|
||||||
foreach ( $posts as $post ) {
|
foreach ( $posts as $post ) {
|
||||||
if ( empty($comment_pending_count[$post->ID]) )
|
if ( empty($comment_pending_count[$post->ID]) )
|
||||||
|
|
Loading…
Reference in New Issue