WordPress.org

Make WordPress Core

Ticket #34338: taxonomy.diff

File taxonomy.diff, 588 bytes (added by tszming, 4 years ago)

Patch

  • wp-includes/taxonomy.php

     
    32893289                do_action( 'delete_term_relationships', $object_id, $tt_ids );
    32903290                $deleted = $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->term_relationships WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $object_id ) );
    32913291
     3292                wp_cache_delete( $object_id, $taxonomy . '_relationships' );
     3293
    32923294                /**
    32933295                 * Fires immediately after an object-term relationship is deleted.
    32943296                 *