Redirect wp-activate.php to register when not multisite, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
075821896d
commit
70940e965c
|
@ -5,6 +5,12 @@ define( "WP_INSTALLING", true );
|
|||
require( dirname(__FILE__) . '/wp-load.php' );
|
||||
|
||||
require( 'wp-blog-header.php' );
|
||||
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
|
||||
die();
|
||||
}
|
||||
|
||||
require_once( ABSPATH . WPINC . '/registration.php');
|
||||
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
|
|
Loading…
Reference in New Issue