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
This commit is contained in:
John Blackbourn 2019-10-07 21:37:03 +00:00
parent 235373d4d7
commit 883bb53d06
2 changed files with 2 additions and 2 deletions

View File

@ -2681,7 +2681,7 @@ function do_all_pings() {
foreach ( $enclosures as $enclosure ) { foreach ( $enclosures as $enclosure ) {
delete_post_meta( $enclosure, '_encloseme' ); delete_post_meta( $enclosure, '_encloseme' );
do_enclose( null, $enclosure->ID ); do_enclose( null, $enclosure );
} }
// Do trackbacks. // Do trackbacks.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.