Remove dead code. props azaozz, see #11882.
git-svn-id: https://develop.svn.wordpress.org/trunk@14156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf00891a05
commit
1061d2e414
|
@ -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