Ticket #27952: 27952.patch
| File 27952.patch, 650 bytes (added by , 12 years ago) |
|---|
-
wp-includes/ms-default-filters.php
35 35 // Administration 36 36 add_filter( 'term_id_filter', 'global_terms', 10, 2 ); 37 37 add_action( 'publish_post', 'update_posts_count' ); 38 add_action( 'delete_post', 'update_posts_count' ); 38 39 add_action( 'delete_post', '_update_blog_date_on_post_delete' ); 40 add_action( 'transition_post_status', 'update_posts_count' ); 39 41 add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 ); 40 42 41 43 // Counts