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:
parent
ebbb23e25b
commit
51aa71c394
@ -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 );
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user