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