WordPress.org

Make WordPress Core

Ticket #29911: 29911.patch

File 29911.patch, 426 bytes (added by socki03, 7 years ago)

Added clean term cache for the term's children.

  • taxonomy.php

     
    24842484
    24852485        clean_term_cache($term, $taxonomy);
    24862486
     2487        if ( is_taxonomy_hierarchical( $taxonomy ) && $edit_tt_ids )
     2488                clean_term_cache( $edit_tt_ids, $taxonomy );
     2489
    24872490        /**
    24882491         * Fires after a term is deleted from the database and the cache is cleaned.
    24892492         *