Changeset 56882 for branches/5.6/src/wp-admin/includes/dashboard.php
- Timestamp:
- 10/12/2023 03:12:09 PM (12 months ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
- Property svn:mergeinfo changed
/trunk merged: 56833-56838
- Property svn:mergeinfo changed
-
branches/5.6/src/wp-admin/includes/dashboard.php
r50059 r56882 1053 1053 echo '<ul id="the-comment-list" data-wp-lists="list:comment">'; 1054 1054 foreach ( $comments as $comment ) { 1055 _wp_dashboard_recent_comments_row( $comment ); 1055 1056 $comment_post = get_post( $comment->comment_post_ID ); 1057 if ( 1058 current_user_can( 'edit_post', $comment->comment_post_ID ) || 1059 ( 1060 empty( $comment_post->post_password ) && 1061 current_user_can( 'read_post', $comment->comment_post_ID ) 1062 ) 1063 ) { 1064 _wp_dashboard_recent_comments_row( $comment ); 1065 } 1056 1066 } 1057 1067 echo '</ul>';
Note: See TracChangeset
for help on using the changeset viewer.