summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-22 12:10:06 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-22 12:10:06 +0000
commit2351fd1b126e2a08b789a5251e029b505fa50bf9 (patch)
treec14a9ab1d907841ed59c391d4ecae510b5a502df /wp-signup.php
parent9c541a83408a537abb8807761eca8f228de91238 (diff)
downloadwordpress-mu-2351fd1b126e2a08b789a5251e029b505fa50bf9.tar.gz
wordpress-mu-2351fd1b126e2a08b789a5251e029b505fa50bf9.tar.xz
wordpress-mu-2351fd1b126e2a08b789a5251e029b505fa50bf9.zip
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
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php5
1 files changed, 4 insertions, 1 deletions
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(__("<p><em>The blog you were looking for, <strong>%s</strong> doesn't exist but you can create it now!</em></p>"), $newblog );
+ if ($active_signup == 'blog' || $active_signup == 'all')
+ printf(__("<p><em>The blog you were looking for, <strong>%s</strong> doesn't exist but you can create it now!</em></p>"), $newblog );
+ else
+ printf(__("<p><em>The blog you were looking for, <strong>%s</strong> doesn't exist.</em></p>"), $newblog );
}
break;
}