Skip to content

Commit 278d274

Browse files
committed
Remove redundant check from comment meta registration
1 parent 48cb687 commit 278d274

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/wp-includes/comment.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4128,9 +4128,6 @@ function wp_create_initial_comment_meta() {
41284128
'enum' => array( 'resolved', 'reopen' ),
41294129
),
41304130
),
4131-
'auth_callback' => function ( $allowed, $meta_key, $object_id ) {
4132-
return current_user_can( 'edit_comment', $object_id );
4133-
},
41344131
)
41354132
);
41364133
}

0 commit comments

Comments
 (0)