Changeset 57285 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 01/15/2024 05:40:06 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r57123 r57285 1089 1089 1090 1090 foreach ( $possible as $comment ) { 1091 $comment_post = get_post( $comment->comment_post_ID );1092 1093 1091 if ( ! current_user_can( 'edit_post', $comment->comment_post_ID ) 1094 && ( ! empty( $comment_post->post_password)1092 && ( post_password_required( $comment->comment_post_ID ) 1095 1093 || ! current_user_can( 'read_post', $comment->comment_post_ID ) ) 1096 1094 ) {
Note: See TracChangeset
for help on using the changeset viewer.