Changeset 25621 for trunk/src/wp-includes/ms-default-filters.php
- Timestamp:
- 09/25/2013 04:20:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-filters.php
r25618 r25621 38 38 add_action( 'delete_post', '_update_blog_date_on_post_delete' ); 39 39 add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 ); 40 41 // Counts 40 42 add_action( 'admin_init', 'wp_schedule_update_network_counts'); 41 43 add_action( 'update_network_counts', 'wp_update_network_counts'); 44 foreach ( array( 'user_register', 'deleted_user', 'wpmu_new_user', 'make_spam_user', 'make_ham_user' ) as $action ) 45 add_action( $action, 'wp_maybe_update_network_user_counts' ); 46 foreach ( array( 'make_spam_blog', 'make_ham_blog', 'archive_blog', 'unarchive_blog', 'make_delete_blog', 'make_undelete_blog' ) as $action ) 47 add_action( $action, 'wp_maybe_update_network_site_counts' ); 48 unset( $action ); 42 49 43 50 // Files
Note: See TracChangeset
for help on using the changeset viewer.