]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/ms-default-filters.php
WordPress 3.3.2
[autoinstalls/wordpress.git] / wp-includes / ms-default-filters.php
index e533252f4bc152c9ffc0efad9d0ec0ee746dd195..9e42f62d215d001014f78df2dac584a72d294dee 100644 (file)
@@ -36,9 +36,7 @@ add_filter( 'allowed_redirect_hosts', 'redirect_this_site' );
 add_filter( 'term_id_filter', 'global_terms', 10, 2 );
 add_action( 'publish_post', 'update_posts_count' );
 add_action( 'delete_post', 'wpmu_update_blogs_date' );
 add_filter( 'term_id_filter', 'global_terms', 10, 2 );
 add_action( 'publish_post', 'update_posts_count' );
 add_action( 'delete_post', 'wpmu_update_blogs_date' );
-add_action( 'private_to_published', 'wpmu_update_blogs_date' );
-add_action( 'publish_phone', 'wpmu_update_blogs_date' );
-add_action( 'publish_post', 'wpmu_update_blogs_date' );
+add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 );
 add_action( 'admin_init', 'wp_schedule_update_network_counts');
 add_action( 'update_network_counts', 'wp_update_network_counts');
 
 add_action( 'admin_init', 'wp_schedule_update_network_counts');
 add_action( 'update_network_counts', 'wp_update_network_counts');