Changeset 13800
- Timestamp:
- 03/22/2010 02:01:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r13791 r13800 513 513 if ( count( $comments ) >= $total_items ) 514 514 break; 515 if ( in_array( $comment->comment_approved, $allowed_states ) )515 if ( in_array( $comment->comment_approved, $allowed_states ) && current_user_can( 'read_post', $comment->comment_post_ID ) ) 516 516 $comments[] = $comment; 517 517 }
Note: See TracChangeset
for help on using the changeset viewer.