Pass extra context to wpmu_new_blog.

git-svn-id: https://develop.svn.wordpress.org/trunk@14484 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-05-06 19:36:20 +00:00
parent ebbb23e25b
commit 51aa71c394

View File

@ -839,7 +839,7 @@ function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id
update_user_meta( $user_id, 'primary_blog', $blog_id ); update_user_meta( $user_id, 'primary_blog', $blog_id );
restore_current_blog(); restore_current_blog();
do_action( 'wpmu_new_blog', $blog_id, $user_id ); do_action( 'wpmu_new_blog', $blog_id, $user_id, $domain, $path, $site_id );
return $blog_id; return $blog_id;
} }