From 547be72c3ba6933203246de78dd2d1648e9712e5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 25 Sep 2019 15:50:58 +0000 Subject: [PATCH] Pings/Trackbacks: Use correct variable in a `foreach()` loop in `do_all_pings()`. Props itowhid06. Fixes #48094. See #36824. Built from https://develop.svn.wordpress.org/trunk@46292 git-svn-id: http://core.svn.wordpress.org/trunk@46104 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 fe5065dd9f..d0b3a57d6a 100644 --- a/wp-includes/comment.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3cb9baf96b..bee9d0036c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta1-46291'; +$wp_version = '5.3-beta1-46292'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.