WordPress.org

Make WordPress Core

Ticket #15424: 15424.diff

File 15424.diff, 597 bytes (added by scribu, 4 years ago)
  • wp-includes/ms-default-filters.php

     
    3535// Administration 
    3636add_filter( 'term_id_filter', 'global_terms', 10, 2 ); 
    3737add_action( 'publish_post', 'update_posts_count' ); 
     38add_action( 'delete_post', 'update_posts_count' ); 
    3839add_action( 'delete_post', 'wpmu_update_blogs_date' ); 
    3940add_action( 'private_to_published', 'wpmu_update_blogs_date' ); 
    4041add_action( 'publish_phone', 'wpmu_update_blogs_date' );