Ticket #6122: add_taxonomy_id_filter.patch
| File add_taxonomy_id_filter.patch, 710 bytes (added by chmac, 4 years ago) |
|---|
-
trunk/wp-includes/taxonomy.php
1226 1226 do_action("create_$taxonomy", $term_id, $tt_id); 1227 1227 1228 1228 $term_id = apply_filters('term_id_filter', $term_id, $tt_id); 1229 $tt_id = apply_filters('term_taxonomy_id_filter', $tt_id, $term_id); 1229 1230 1230 1231 clean_term_cache($term_id, $taxonomy); 1231 1232 … … 1482 1483 do_action("edit_$taxonomy", $term_id, $tt_id); 1483 1484 1484 1485 $term_id = apply_filters('term_id_filter', $term_id, $tt_id); 1486 $tt_id = apply_filters('taxonomy_id_filter', $term_id, $tt_id); 1485 1487 1486 1488 clean_term_cache($term_id, $taxonomy); 1487 1489
