WordPress.org

Make WordPress Core

Ticket #20433: 20433.patch

File 20433.patch, 644 bytes (added by SergeyBiryukov, 2 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' ); 
    38 add_action( 'delete_post', 'wpmu_update_blogs_date' ); 
    3938add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 ); 
    4039add_action( 'admin_init', 'wp_schedule_update_network_counts'); 
    4140add_action( 'update_network_counts', 'wp_update_network_counts');