Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 432f2a44564396d5983e1bd3e2c168cb8750e130 1 parent bcc3bb2
authored October 27, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  wp-activate.php
2  wp-activate.php
@@ -7,7 +7,7 @@
7 7
 require( './wp-blog-header.php' );
8 8
 
9 9
 if ( !is_multisite() ) {
10  
-	wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
  10
+	wp_redirect( site_url( '/wp-login.php?action=register' ) );
11 11
 	die();
12 12
 }
13 13
 

0 notes on commit 432f2a4

Please sign in to comment.
Something went wrong with that request. Please try again.