mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Use the api to build site urls. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bcc3bb24a3
commit
432f2a4456
@ -7,7 +7,7 @@ require( dirname(__FILE__) . '/wp-load.php' );
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user