Changeset 40596
- Timestamp:
- 05/09/2017 05:14:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-filters.php
r40333 r40596 56 56 // Counts 57 57 add_action( 'admin_init', 'wp_schedule_update_network_counts'); 58 add_action( 'update_network_counts', 'wp_update_network_counts' );58 add_action( 'update_network_counts', 'wp_update_network_counts', 10, 0 ); 59 59 foreach ( array( 'user_register', 'deleted_user', 'wpmu_new_user', 'make_spam_user', 'make_ham_user' ) as $action ) 60 add_action( $action, 'wp_maybe_update_network_user_counts' );60 add_action( $action, 'wp_maybe_update_network_user_counts', 10, 0 ); 61 61 foreach ( array( 'make_spam_blog', 'make_ham_blog', 'archive_blog', 'unarchive_blog', 'make_delete_blog', 'make_undelete_blog' ) as $action ) 62 add_action( $action, 'wp_maybe_update_network_site_counts' );62 add_action( $action, 'wp_maybe_update_network_site_counts', 10, 0 ); 63 63 unset( $action ); 64 64
Note: See TracChangeset
for help on using the changeset viewer.