Changeset 19255
- Timestamp:
- 11/11/2011 06:37:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-new.php
r19119 r19255 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 78 You\'ve been invited to join \'%1$s\' at 79 %2$s with the role of %3$s. 80 81 Please click the following link to confirm the invite: 82 %4$s' ); 76 83 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 84 $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' );
Note: See TracChangeset
for help on using the changeset viewer.