WordPress.org

Make WordPress Core

Changeset 12857


Ignore:
Timestamp:
01/26/2010 09:39:06 PM (11 years ago)
Author:
wpmuguru
Message:

Redirect wp-activate.php to register when not multisite, See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-activate.php

    r12734 r12857  
    66
    77require( 'wp-blog-header.php' );
     8
     9if ( !is_multisite() ) {
     10    wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
     11    die();
     12}
     13
    814require_once( ABSPATH . WPINC . '/registration.php');
    915
Note: See TracChangeset for help on using the changeset viewer.