Changeset 60365
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r60360 r60365 8171 8171 */ 8172 8172 function _update_term_count_on_transition_post_status( $new_status, $old_status, $post ) { 8173 if ( $new_status === $old_status ) { 8174 return; 8175 } 8176 8173 8177 // Update counts for the post's terms. 8174 8178 foreach ( (array) get_object_taxonomies( $post->post_type ) as $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.