Pass extra context to wpmu_new_blog.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
62141ab55f
commit
2b9d0dad68
|
@ -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