Pings/Trackbacks: Use correct variable in a `foreach()` loop in `do_all_pings()`.

Props itowhid06.
Fixes #48094. See #36824.

git-svn-id: https://develop.svn.wordpress.org/trunk@46292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-09-25 15:49:41 +00:00
parent 2dbc7e087f
commit fc33d398cb
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}