use get_blogaddress_by_name in wp-signup, see #12735

git-svn-id: http://svn.automattic.com/wordpress/trunk@14704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-05-16 22:36:58 +00:00
parent 9fb13d2cba
commit 3c97397d03
1 changed files with 3 additions and 5 deletions

View File

@ -432,11 +432,9 @@ if ( $active_signup == "none" ) {
else
_e( 'You are logged in already. No need to register again!' );
if ($newblogname) {
if ( !is_subdomain_install() )
$newblog = 'http://' . $current_site->domain . $current_site->path . $newblogname . '/';
else
$newblog = 'http://' . $newblogname . '.' . $current_site->domain . $current_site->path;
if ( $newblogname ) {
$newblog = get_blogaddress_by_name( $newblogname );
if ( $active_signup == 'blog' || $active_signup == 'all' )
printf( __( '<p><em>The site you were looking for, <strong>%s</strong> does not exist, but you can create it now!</em></p>' ), $newblog );
else