Changes between Initial Version and Version 1 of Ticket #17548, comment 3
- Timestamp:
- 08/09/2011 02:20:23 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17548, comment 3
initial v1 1 I have added a patch to call `update_post_term_count()` on `transition_post_status()` (but only taxonomies with an `update_count_callback` defined. 1 I have added a patch to call `update_post_term_count()` on `transition_post_status()` (but only taxonomies with an `update_count_callback` defined. This will also catch items moved to private etc (which it will not currently). 2 2 3 3 Not sure if it would be best to split this into a function, and add it via `add_filter( 'transition_post_status', 'wp_update_term_count_on_transition_status' )` or something?