From 2351fd1b126e2a08b789a5251e029b505fa50bf9 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 22 Jul 2008 12:10:06 +0000 Subject: Only show the "create it now!" message when blog registration is enabled, fixes #628, props lambic git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1393 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-signup.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-signup.php b/wp-signup.php index e290a6a..602fa61 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -417,7 +417,10 @@ if( $active_signup == "none" ) { $newblog = 'http://' . $current_site->domain . $current_site->path . $newblogname . '/'; else $newblog = 'http://' . $newblogname . '.' . $current_site->domain . $current_site->path; - printf(__("

The blog you were looking for, %s doesn't exist but you can create it now!

"), $newblog ); + if ($active_signup == 'blog' || $active_signup == 'all') + printf(__("

The blog you were looking for, %s doesn't exist but you can create it now!

"), $newblog ); + else + printf(__("

The blog you were looking for, %s doesn't exist.

"), $newblog ); } break; } -- cgit