WordPress.org

Make WordPress Core

Ticket #12668: 12668-dashboard.patch

File 12668-dashboard.patch, 490 bytes (added by mordauk, 5 years ago)
  • src/wp-admin/includes/dashboard.php

     
    752752
    753753        $comments_query = array(
    754754                'number' => $total_items * 5,
    755                 'offset' => 0
     755                'offset' => 0,
     756                'type'   => array( 'pingback', 'trackback', 'comment' )
    756757        );
    757758        if ( ! current_user_can( 'edit_posts' ) )
    758759                $comments_query['status'] = 'approve';