Changeset 18487 for trunk/wp-admin/user-new.php
- Timestamp:
- 07/29/2011 09:36:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-new.php
r18250 r18487 22 22 return sprintf( __( 'Hi, 23 23 You\'ve been invited to join \'%1$s\' at 24 %2$s as a%3$s.24 %2$s with the role of %3$s. 25 25 If you do not want to join this site please ignore 26 26 this email. This invitation will expire in a few days. … … 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 as a%s.\nPlease click the following link to confirm the invite:\n%s\n");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"); 76 76 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 77 $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' );
Note: See TracChangeset
for help on using the changeset viewer.