Make WordPress Core

Ticket #19090: 19090.patch

File 19090.patch, 1.0 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/user-new.php

     
    7272                } else {
    7373                        $newuser_key = substr( md5( $user_id ), 0, 5 );
    7474                        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                        $message = __( 'Hi,
     76You\'ve been invited to join \'%1$s\' at
     77%2$s with the role of %3$s.
     78
     79Please click the following link to confirm the invite:
     80%4$s' );
    7681                        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/")));
    7782                        $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' );
    7883                }