Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.
git-svn-id: https://develop.svn.wordpress.org/trunk@18657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
647031a087
commit
4d2f247e41
|
@ -36,8 +36,6 @@ add_filter( 'allowed_redirect_hosts', 'redirect_this_site' );
|
||||||
add_filter( 'term_id_filter', 'global_terms', 10, 2 );
|
add_filter( 'term_id_filter', 'global_terms', 10, 2 );
|
||||||
add_action( 'publish_post', 'update_posts_count' );
|
add_action( 'publish_post', 'update_posts_count' );
|
||||||
add_action( 'delete_post', 'wpmu_update_blogs_date' );
|
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( 'publish_post', 'wpmu_update_blogs_date' );
|
||||||
add_action( 'admin_init', 'wp_schedule_update_network_counts');
|
add_action( 'admin_init', 'wp_schedule_update_network_counts');
|
||||||
add_action( 'update_network_counts', 'wp_update_network_counts');
|
add_action( 'update_network_counts', 'wp_update_network_counts');
|
||||||
|
|
Loading…
Reference in New Issue