Ticket #12668: 12668-dashboard.patch
File 12668-dashboard.patch, 490 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/dashboard.php
752 752 753 753 $comments_query = array( 754 754 'number' => $total_items * 5, 755 'offset' => 0 755 'offset' => 0, 756 'type' => array( 'pingback', 'trackback', 'comment' ) 756 757 ); 757 758 if ( ! current_user_can( 'edit_posts' ) ) 758 759 $comments_query['status'] = 'approve';