(' . sprintf( __('Your address will be %s.'), $site ) . ') ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '
(' . sprintf( __( 'Your address will be %s.' ), $site ) . ') ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '
';
}
// Blog Title
@@ -461,9 +464,13 @@ function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $
);
?>
-
+
%2$s is your new site. Log in as “%4$s” using your existing password.' ),
esc_url( $home_url ),
untrailingslashit( $domain . $path ),
@@ -523,7 +530,10 @@ function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
?>
-
site_name ) ?>
+
site_name );
+ ?>
' . sprintf( __( 'Greetings Site Administrator! You are currently allowing “%s” registrations. To change or disable registration go to your Options page.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'settings.php' ) ) ) . '';
+}
$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
@@ -819,7 +834,8 @@ if ( $active_signup == 'none' ) {
_e( 'Registration has been disabled.' );
} elseif ( $active_signup == 'blog' && !is_user_logged_in() ) {
$login_url = wp_login_url( network_site_url( 'wp-signup.php' ) );
- echo sprintf( __( 'You must first log in, and then you can create a new site.' ), $login_url );
+ /* translators: %s: login URL */
+ printf( __( 'You must first log in, and then you can create a new site.' ), $login_url );
} else {
$stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';
switch ( $stage ) {