Changeset 57285
- Timestamp:
- 01/15/2024 05:40:06 PM (8 months ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r57123 r57285 649 649 650 650 if ( ! current_user_can( $edit_post_cap, $comment->comment_post_ID ) 651 && ( ! empty( $post->post_password)651 && ( post_password_required( $comment->comment_post_ID ) 652 652 || ! current_user_can( 'read_post', $comment->comment_post_ID ) ) 653 653 ) { -
trunk/src/wp-admin/includes/class-wp-list-table.php
r57123 r57285 833 833 834 834 if ( ! current_user_can( $edit_post_cap, $post_id ) 835 && ( ! empty( $post_object->post_password )835 && ( post_password_required( $post_id ) 836 836 || ! current_user_can( 'read_post', $post_id ) ) 837 837 ) { -
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.