Redirect wp-activate.php to register when not multisite, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12857 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
afede400bf
commit
b6feb64ea4
@ -5,6 +5,12 @@ define( "WP_INSTALLING", true );
|
|||||||
require( dirname(__FILE__) . '/wp-load.php' );
|
require( dirname(__FILE__) . '/wp-load.php' );
|
||||||
|
|
||||||
require( 'wp-blog-header.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');
|
require_once( ABSPATH . WPINC . '/registration.php');
|
||||||
|
|
||||||
if ( is_object( $wp_object_cache ) )
|
if ( is_object( $wp_object_cache ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user