diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
index 06fa0a0f47..6a49014f0c 100644
a
|
b
|
function wp_modify_term_count_by_now( $tt_ids, $taxonomy, $modify_by ) { |
3444 | 3444 | |
3445 | 3445 | foreach ( $tt_ids as $tt_id ) { |
3446 | 3446 | /** This action is documented in wp-includes/taxonomy.php */ |
3447 | | do_action( 'edit_term_taxonomy', $tt_id, $taxonomy ); |
| 3447 | do_action( 'edit_term_taxonomy', $tt_id, $taxonomy->name ); |
3448 | 3448 | } |
3449 | 3449 | |
3450 | 3450 | $result = $wpdb->query( |
… |
… |
function wp_modify_term_count_by_now( $tt_ids, $taxonomy, $modify_by ) { |
3461 | 3461 | |
3462 | 3462 | foreach ( $tt_ids as $tt_id ) { |
3463 | 3463 | /** This action is documented in wp-includes/taxonomy.php */ |
3464 | | do_action( 'edited_term_taxonomy', $tt_id, $taxonomy ); |
| 3464 | do_action( 'edited_term_taxonomy', $tt_id, $taxonomy->name ); |
3465 | 3465 | } |
3466 | 3466 | |
3467 | 3467 | clean_term_cache( $tt_ids, '', false ); |