WordPress.org

Make WordPress Core

Changeset 46292


Ignore:
Timestamp:
09/25/2019 03:49:41 PM (2 months ago)
Author:
SergeyBiryukov
Message:

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

Props itowhid06.
Fixes #48094. See #36824.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r46232 r46292  
    26802680    );
    26812681
    2682     foreach ( $enclosure as $enclosure ) {
     2682    foreach ( $enclosures as $enclosure ) {
    26832683        delete_post_meta( $enclosure, '_encloseme' );
    26842684        do_enclose( null, $enclosure->ID );
Note: See TracChangeset for help on using the changeset viewer.