diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index fe5065dd9f..d0b3a57d6a 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -2679,7 +2679,7 @@ function do_all_pings() { ) ); - foreach ( $enclosure as $enclosure ) { + foreach ( $enclosures as $enclosure ) { delete_post_meta( $enclosure, '_encloseme' ); do_enclose( null, $enclosure->ID ); }