diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-03-13 15:57:06 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-03-13 15:57:06 +0000 |
commit | e7cc5de2f2a3295808a00157fd88035bb6c6ac05 (patch) | |
tree | 7aa05597e9127fc8865c3ac6a1a5b70502c5bab5 /wp-includes | |
parent | ce2eb81eefce02825fc8f9ddd1b8b48f17bc6f68 (diff) | |
download | wordpress-mu-e7cc5de2f2a3295808a00157fd88035bb6c6ac05.tar.gz wordpress-mu-e7cc5de2f2a3295808a00157fd88035bb6c6ac05.tar.xz wordpress-mu-e7cc5de2f2a3295808a00157fd88035bb6c6ac05.zip |
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
Diffstat (limited to 'wp-includes')
-rw-r--r-- | wp-includes/wpmu-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |