Make WordPress Core


Ignore:
Timestamp:
01/26/2016 02:17:02 AM (9 years ago)
Author:
boonebgorges
Message:

Pass $clean_taxonomy param to 'clean_term_cache' action.

Props spacedmonkey.
Fixes #35611.

File:
1 edited

Legend:

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

    r36391 r36399  
    36213621         *
    36223622         * @since 2.5.0
     3623         * @since 4.5.0 Added $clean_taxonomy param.
    36233624         *
    36243625         * @param array  $ids      An array of term IDs.
    36253626         * @param string $taxonomy Taxonomy slug.
     3627         * @param bool   $clean_taxonomy Whether or not to clean taxonomy-wide caches
    36263628         */
    3627         do_action( 'clean_term_cache', $ids, $taxonomy );
     3629        do_action( 'clean_term_cache', $ids, $taxonomy, $clean_taxonomy );
    36283630    }
    36293631
Note: See TracChangeset for help on using the changeset viewer.