From b6feb64ea43a32812934def847e5a3eaf8da1c76 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Tue, 26 Jan 2010 21:39:06 +0000 Subject: [PATCH] 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 --- wp-activate.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wp-activate.php b/wp-activate.php index 1357204411..a315bbb89a 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -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 ) )