Ticket #19090: 19090.2.patch
File 19090.2.patch, 1.1 KB (added by , 13 years ago) |
---|
-
wp-admin/user-new.php
72 72 } else { 73 73 $newuser_key = substr( md5( $user_id ), 0, 5 ); 74 74 add_option( 'new_user_' . $newuser_key, array( 'user_id' => $user_id, 'email' => $user_details->user_email, 'role' => $_REQUEST[ 'role' ] ) ); 75 $message = __("Hi,\n\nYou have been invited to join '%s' at\n%s with the role of %s.\nPlease click the following link to confirm the invite:\n%s\n"); 75 /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */ 76 $message = __( 'Hi, 77 You\'ve been invited to join \'%1$s\' at 78 %2$s with the role of %3$s. 79 80 Please click the following link to confirm the invite: 81 %4$s' ); 76 82 wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), get_option( 'blogname' ) ), sprintf($message, get_option('blogname'), site_url(), $_REQUEST[ 'role' ], site_url("/newbloguser/$newuser_key/"))); 77 83 $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' ); 78 84 }