mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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: http://svn.automattic.com/wordpress/trunk@18657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc936c54c1
commit
c8cdb0cd3d
@ -36,8 +36,6 @@ 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_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( 'admin_init', 'wp_schedule_update_network_counts');
|
||||
add_action( 'update_network_counts', 'wp_update_network_counts');
|
||||
|
Loading…
Reference in New Issue
Block a user