Changeset 21664 for trunk/wp-signup.php
- Timestamp:
- 08/30/2012 01:33:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r20556 r21664 391 391 _e( 'Registration has been disabled.' ); 392 392 } elseif ( $active_signup == 'blog' && !is_user_logged_in() ) { 393 if ( is_ssl() ) 394 $proto = 'https://'; 395 else 396 $proto = 'http://'; 397 $login_url = site_url( 'wp-login.php?redirect_to=' . urlencode($proto . $_SERVER['HTTP_HOST'] . '/wp-signup.php' )); 393 $login_url = site_url( 'wp-login.php?redirect_to=' . urlencode( set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . '/wp-signup.php' ) ) ); 398 394 echo sprintf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), $login_url ); 399 395 } else {
Note: See TracChangeset
for help on using the changeset viewer.