Make WordPress Core


Ignore:
Timestamp:
10/20/2010 08:22:14 PM (16 years ago)
Author:
ryan
Message:

Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-default-filters.php

    r15678 r15875  
    4040add_action( 'publish_phone', 'wpmu_update_blogs_date' );
    4141add_action( 'publish_post', 'wpmu_update_blogs_date' );
     42add_action( 'admin_init', 'wp_schedule_update_network_counts');
     43add_action( 'update_network_counts', 'wp_update_network_counts');
    4244
    4345// Files
     
    5860add_filter( 'force_filtered_html_on_import', '__return_true' );
    5961
    60 
    6162// WP_HOME and WP_SITEURL should not have any effect in MS
    6263remove_filter( 'option_siteurl', '_config_wp_siteurl' );
Note: See TracChangeset for help on using the changeset viewer.