Changeset 34213 for trunk/src/wp-signup.php
- Timestamp:
- 09/15/2015 05:10:24 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-signup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-signup.php
r34162 r34213 29 29 30 30 if ( !is_multisite() ) { 31 wp_redirect( site_url('wp-login.php?action=register') );31 wp_redirect( wp_registration_url() ); 32 32 die(); 33 33 } … … 670 670 _e( 'Registration has been disabled.' ); 671 671 } elseif ( $active_signup == 'blog' && !is_user_logged_in() ) { 672 $login_url = site_url( 'wp-login.php?redirect_to=' . urlencode( network_site_url( 'wp-signup.php' )) );672 $login_url = wp_login_url( network_site_url( 'wp-signup.php' ) ); 673 673 echo sprintf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), $login_url ); 674 674 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)