From 385983f8d63856f32f407717c63f063fa635b8ef Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 7 Oct 2019 21:35:54 +0000 Subject: [PATCH] Pings/Trackbacks: Fix processing of posts with pending enclosures. Introduced in [46175]. Fixes #36824 git-svn-id: https://develop.svn.wordpress.org/trunk@46427 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.