mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 15:20:02 +00:00
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:
@@ -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 ) )
|
||||
|
||||
Reference in New Issue
Block a user