Skip to content
Permalink
Browse files

Pings/Trackbacks: Use correct variable in a `foreach()` loop in `do_a…

…ll_pings()`.

Props itowhid06.
Fixes #48094. See #36824.

git-svn-id: https://develop.svn.wordpress.org/trunk@46292 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 25, 2019
1 parent 2dbc7e0 commit fc33d398cb841184f5ea7f332fc7420ba4c03919
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/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 );
}

0 comments on commit fc33d39

Please sign in to comment.
You can’t perform that action at this time.