Changes from branches/3.0/wp-signup.php at r15452 to trunk/wp-signup.php at r16755
- File:
-
- 1 edited
-
trunk/wp-signup.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r15452 r16755 7 7 8 8 require( './wp-blog-header.php' ); 9 require_once( ABSPATH . WPINC . '/registration.php' );10 9 11 10 if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { … … 24 23 25 24 if ( !is_multisite() ) { 26 wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register");25 wp_redirect( site_url('wp-login.php?action=register') ); 27 26 die(); 28 27 } … … 82 81 83 82 if ( !is_user_logged_in() ) { 84 print '(<strong>' . __( 'Your address will be ' );85 83 if ( !is_subdomain_install() ) 86 print$current_site->domain . $current_site->path . __( 'sitename' );84 $site = $current_site->domain . $current_site->path . __( 'sitename' ); 87 85 else 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>';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>'; 90 88 } 91 89 … … 394 392 395 393 if ( is_super_admin() ) 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>';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>'; 397 395 398 396 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
Note: See TracChangeset
for help on using the changeset viewer.