From e7cc5de2f2a3295808a00157fd88035bb6c6ac05 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 13 Mar 2008 15:57:06 +0000 Subject: Return blog_id in create_empty_blog(), fixes #563, props v.guerard git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1209 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/wpmu-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes') diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index 3bb675d..251662a 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -728,7 +728,7 @@ function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) { install_blog($blog_id); restore_current_blog(); - return true; + return $blog_id; } function get_blog_permalink( $blog_id, $post_id ) { -- cgit