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:
parent
2dbc7e087f
commit
fc33d398cb
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user