Make WordPress Core


Ignore:
Timestamp:
10/27/2010 10:29:27 AM (14 years ago)
Author:
westi
Message:

Use the api to build site urls. Props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-activate.php

    r15830 r16007  
    88
    99if ( !is_multisite() ) {
    10     wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
     10    wp_redirect( site_url( '/wp-login.php?action=register' ) );
    1111    die();
    1212}
Note: See TracChangeset for help on using the changeset viewer.