summaryrefslogtreecommitdiffstats
path: root/wp-includes/wpmu-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-03-10 18:18:18 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-03-10 18:18:18 +0000
commit759a872223910aab64d622b2cf16ceff7a2f358d (patch)
treeec8672c75a498aeea354d79d296df9b17c47388f /wp-includes/wpmu-functions.php
parent38dbb25ab7390f199353caa66ea8b1b99e19135f (diff)
downloadwordpress-mu-759a872223910aab64d622b2cf16ceff7a2f358d.tar.gz
wordpress-mu-759a872223910aab64d622b2cf16ceff7a2f358d.tar.xz
wordpress-mu-759a872223910aab64d622b2cf16ceff7a2f358d.zip
Added "wpmu_blog_updated" action, fixes #567, props chmac
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1202 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r--wp-includes/wpmu-functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index 8f0ddda..176d659 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -19,6 +19,8 @@ function wpmu_update_blogs_date() {
$wpdb->query( "UPDATE {$wpdb->blogs} SET last_updated = NOW() WHERE blog_id = '{$wpdb->blogid}'" );
refresh_blog_details( $wpdb->blogid );
+
+ do_action( 'wpmu_blog_updated', $wpdb->blogid );
}
add_action('delete_post', 'wpmu_update_blogs_date');