Changeset 6493 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
- Timestamp:
- 01/31/2018 11:21:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r6395 r6493 34 34 wp_die( $pre_register_error ); 35 35 } 36 wp_die( __( 'Registration Blocked. Please stop.', 'wporg -login' ) );36 wp_die( __( 'Registration Blocked. Please stop.', 'wporg' ) ); 37 37 } 38 38 39 39 $user_id = wpmu_create_user( wp_slash( $user_login ), wp_generate_password(), wp_slash( $user_email ) ); 40 40 if ( ! $user_id ) { 41 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg -login' ) );41 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) ); 42 42 } 43 43 … … 57 57 } 58 58 59 $body = sprintf( __( 'Hi %s,', 'wporg -login' ), $user_login ) . "\n\n";60 $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg -login' ) . "\n";59 $body = sprintf( __( 'Hi %s,', 'wporg' ), $user_login ) . "\n\n"; 60 $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg' ) . "\n"; 61 61 $body .= "\n"; 62 $body .= sprintf( __( 'Your username is: %s', 'wporg -login' ), $user_login ) . "\n";63 $body .= __( 'You can create a password at the following URL:', 'wporg -login' ) . "\n";62 $body .= sprintf( __( 'Your username is: %s', 'wporg' ), $user_login ) . "\n"; 63 $body .= __( 'You can create a password at the following URL:', 'wporg' ) . "\n"; 64 64 $body .= home_url( "/register/confirm/{$user_login}/{$activation_key}/" ); 65 65 $body .= "\n\n"; 66 $body .= __( '-- The WordPress.org Team', 'wporg -login' );66 $body .= __( '-- The WordPress.org Team', 'wporg' ); 67 67 68 68 wp_mail( 69 69 $user_email, 70 __( '[WordPress.org] Your new account', 'wporg -login' ),70 __( '[WordPress.org] Your new account', 'wporg' ), 71 71 $body, 72 72 array(
Note: See TracChangeset
for help on using the changeset viewer.