Make WordPress Core

Ticket #14731: 14731.2.diff

File 14731.2.diff, 1.2 KB (added by sorich87, 15 years ago)
  • wp-signup.php

     
    8181                echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="60" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
    8282
    8383        if ( !is_user_logged_in() ) {
    84                 print '(<strong>' . __( 'Your address will be ' );
    8584                if ( !is_subdomain_install() )
    86                         print $current_site->domain . $current_site->path . __( 'sitename' );
     85                        $site = $current_site->domain . $current_site->path . __( 'sitename' );
    8786                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>';
     87                        $site = __( 'domain' ) . '.' . $site_domain . $current_site->path;
     88                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>';
    9089        }
    9190
    9291        // Blog Title