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:
Ron Rennick 2010-01-26 21:39:06 +00:00
parent afede400bf
commit b6feb64ea4

View File

@ -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 ) )