Permalink
Browse files

Use the api to build site urls. Props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent bcc3bb2 commit 432f2a44564396d5983e1bd3e2c168cb8750e130 westi committed Oct 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-activate.php
View
@@ -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();
}

0 comments on commit 432f2a4

Please sign in to comment.