WordPress.org

Make WordPress Core

Ticket #18624: 18624.diff

File 18624.diff, 648 bytes (added by mdawaffe, 3 years ago)
  • wp-includes/ms-default-filters.php

     
    3636add_filter( 'term_id_filter', 'global_terms', 10, 2 ); 
    3737add_action( 'publish_post', 'update_posts_count' ); 
    3838add_action( 'delete_post', 'wpmu_update_blogs_date' ); 
    39 add_action( 'private_to_published', 'wpmu_update_blogs_date' ); 
    4039add_action( 'publish_phone', 'wpmu_update_blogs_date' ); 
    4140add_action( 'publish_post', 'wpmu_update_blogs_date' ); 
    4241add_action( 'admin_init', 'wp_schedule_update_network_counts');