Make WordPress Core

Changeset 46427


Ignore:
Timestamp:
10/07/2019 09:35:54 PM (5 years ago)
Author:
johnbillion
Message:

Pings/Trackbacks: Fix processing of posts with pending enclosures.

Introduced in [46175].

Fixes #36824

File:
1 edited

Legend:

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

    r46391 r46427  
    26822682    foreach ( $enclosures as $enclosure ) {
    26832683        delete_post_meta( $enclosure, '_encloseme' );
    2684         do_enclose( null, $enclosure->ID );
     2684        do_enclose( null, $enclosure );
    26852685    }
    26862686
Note: See TracChangeset for help on using the changeset viewer.