summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-24 15:54:57 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-24 15:54:57 +0000
commit29d92778637bec6d154cb4557f52a458d0c265ad (patch)
treedead8aadc38a7290dd37bf0b23a9e45c5650d960 /wp-signup.php
parente968fede2e5b91868b64d2e7af37c8e4df07fbdc (diff)
downloadwordpress-mu-29d92778637bec6d154cb4557f52a458d0c265ad.zip
wordpress-mu-29d92778637bec6d154cb4557f52a458d0c265ad.tar.gz
wordpress-mu-29d92778637bec6d154cb4557f52a458d0c265ad.tar.xz
Print "The blog you were looking for" properly (#98)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@706 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-signup.php b/wp-signup.php
index bd978d2..656fe34 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -337,7 +337,11 @@ switch ($_POST['stage']) {
signup_user( $blog_id );
if ($blog_id) {
- printf(__("<p><em>The blog you were looking for, <strong> %1$s.%2$s</strong> doesn't exist but you can create it now!</em></p>"), $blog_id, $current_site->domain);
+ if( constant( "VHOST" ) == 'no' )
+ $newblog = 'http://' . $current_site->domain . $current_site->path . $blog_id . '/';
+ else
+ $newblog = 'http://' . $blog_id . '.' . $current_site->domain . $current_site->path;
+ printf(__("<p><em>The blog you were looking for, <strong>%s</strong> doesn't exist but you can create it now!</em></p>"), $newblog );
}
break;
}