Skip to content

Commit ff7ce11

Browse files
Apply suggestion from @westonruter
Co-authored-by: Weston Ruter <westonruter@gmail.com>
1 parent 0ab9307 commit ff7ce11

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/wp-includes/capabilities.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,6 @@ function map_meta_cap( $cap, $user_id, ...$args ) {
576576
/*
577577
* Notes can only be edited or deleted by their author
578578
* or by users who can moderate comments.
579-
*
580-
* @since 7.0.0
581579
*/
582580
if ( 'note' === $comment->comment_type ) {
583581
if ( (int) $user_id === (int) $comment->user_id ) {

0 commit comments

Comments
 (0)