WordPress.org

Make WordPress Core

Ticket #16393: 16393.diff

File 16393.diff, 716 bytes (added by solarissmoke, 4 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' ); 
     39add_action( 'private_to_publish', 'wpmu_update_blogs_date' ); 
    4040add_action( 'publish_phone', 'wpmu_update_blogs_date' ); 
    4141add_action( 'publish_post', 'wpmu_update_blogs_date' ); 
    4242add_action( 'admin_init', 'wp_schedule_update_network_counts');