WordPress.org

Make WordPress Core

Ticket #15961: 15961.patch

File 15961.patch, 520 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

     
    108108                foreach ( $_comments as $_c ) { 
    109109                        $_comment_post_ids[] = $_c->comment_post_ID; 
    110110                } 
     111                $_comment_post_ids = array_unique( $_comment_post_ids ); 
    111112 
    112113                $this->pending_count = get_pending_comments_num( $_comment_post_ids ); 
    113114