mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 01:48:21 +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' );
|
require( './wp-blog-header.php' );
|
||||||
|
|
||||||
if ( !is_multisite() ) {
|
if ( !is_multisite() ) {
|
||||||
wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
|
wp_redirect( site_url( '/wp-login.php?action=register' ) );
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user