Skip to content

Commit

Permalink
Use the api to build site urls. Props nacin.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@16007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
westi committed Oct 27, 2010
1 parent bcc3bb2 commit 432f2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require( './wp-blog-header.php' );

if ( !is_multisite() ) {
wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
wp_redirect( site_url( '/wp-login.php?action=register' ) );
die();
}

Expand Down

0 comments on commit 432f2a4

Please sign in to comment.