Changes from trunk/wp-signup.php at r16755 to branches/3.0/wp-signup.php at r15452
- File:
-
- 1 edited
-
branches/3.0/wp-signup.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-signup.php
r16755 r15452 7 7 8 8 require( './wp-blog-header.php' ); 9 require_once( ABSPATH . WPINC . '/registration.php' ); 9 10 10 11 if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { … … 23 24 24 25 if ( !is_multisite() ) { 25 wp_redirect( site_url('wp-login.php?action=register'));26 wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" ); 26 27 die(); 27 28 } … … 81 82 82 83 if ( !is_user_logged_in() ) { 84 print '(<strong>' . __( 'Your address will be ' ); 83 85 if ( !is_subdomain_install() ) 84 $site =$current_site->domain . $current_site->path . __( 'sitename' );86 print $current_site->domain . $current_site->path . __( 'sitename' ); 85 87 else 86 $site = __( 'domain' ) . '.'. $site_domain . $current_site->path;87 echo ' <p>(<strong>' . sprintf( __('Your address will be %s.'), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';88 print __( 'domain.' ) . $site_domain . $current_site->path; 89 echo '.</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>'; 88 90 } 89 91 … … 392 394 393 395 if ( is_super_admin() ) 394 echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing “%s” registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( ' settings.php' ) ) ) . '</div>';396 echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing “%s” registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'ms-options.php' ) ) ) . '</div>'; 395 397 396 398 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
Note: See TracChangeset
for help on using the changeset viewer.