From 883bb53d06f7a3164019c3cdd0f2ae8518ca8662 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 7 Oct 2019 21:37:03 +0000 Subject: [PATCH] Pings/Trackbacks: Fix processing of posts with pending enclosures. Introduced in [46175]. Fixes #36824 Built from https://develop.svn.wordpress.org/trunk@46427 git-svn-id: http://core.svn.wordpress.org/trunk@46225 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index c006c45fe3..b451c5b641 100644 --- a/wp-includes/comment.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index d2ffb479bd..355971a6d1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta2-46426'; +$wp_version = '5.3-beta2-46427'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.