Changeset 56895 for branches/6.2/src/wp-admin/includes/dashboard.php
- Timestamp:
- 10/12/2023 04:07:43 PM (15 months ago)
- Location:
- branches/6.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2
- Property svn:mergeinfo changed
/trunk merged: 56833-56838
- Property svn:mergeinfo changed
-
branches/6.2/src/wp-admin/includes/dashboard.php
r55576 r56895 1102 1102 echo '<ul id="the-comment-list" data-wp-lists="list:comment">'; 1103 1103 foreach ( $comments as $comment ) { 1104 _wp_dashboard_recent_comments_row( $comment ); 1104 1105 $comment_post = get_post( $comment->comment_post_ID ); 1106 if ( 1107 current_user_can( 'edit_post', $comment->comment_post_ID ) || 1108 ( 1109 empty( $comment_post->post_password ) && 1110 current_user_can( 'read_post', $comment->comment_post_ID ) 1111 ) 1112 ) { 1113 _wp_dashboard_recent_comments_row( $comment ); 1114 } 1105 1115 } 1106 1116 echo '</ul>';
Note: See TracChangeset
for help on using the changeset viewer.