Changeset 56880 for branches/5.5/src/wp-admin/includes/dashboard.php
- Timestamp:
- 10/12/2023 03:09:08 PM (19 months ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 56833-56836,56838
- Property svn:mergeinfo changed
-
branches/5.5/src/wp-admin/includes/dashboard.php
r49275 r56880 1043 1043 echo '<ul id="the-comment-list" data-wp-lists="list:comment">'; 1044 1044 foreach ( $comments as $comment ) { 1045 _wp_dashboard_recent_comments_row( $comment ); 1045 1046 $comment_post = get_post( $comment->comment_post_ID ); 1047 if ( 1048 current_user_can( 'edit_post', $comment->comment_post_ID ) || 1049 ( 1050 empty( $comment_post->post_password ) && 1051 current_user_can( 'read_post', $comment->comment_post_ID ) 1052 ) 1053 ) { 1054 _wp_dashboard_recent_comments_row( $comment ); 1055 } 1046 1056 } 1047 1057 echo '</ul>';
Note: See TracChangeset
for help on using the changeset viewer.