Line Breaks in New User Activation Email

  • In Progress
    Posted in: Arcane  
  • Member
    kryptide
    April 17, 2018 at 4:38 am #111293

    I’ve spent way too long trying to figure this out so I’m hoping for some help.

    The new user activation email shows in this format: Username: TESTUSER Password: TESTPASSWORD Please click this link to activate your account: https://domin.com/key

    It’s all ran together on one line and I can’t seem to manage to get a line break in there. It;s odd because when looking at page-user-registration.php it shows:
    $message = esc_html__(“Username:”,’arcane’).” $user_id \n\n”. esc_html__(“Password: “,’arcane’). “$userpassword”;
    $message .= “\n\n”;
    $message .= esc_html__(‘Please click this link to activate your account: ‘,’arcane’);
    On line 135.
    the “\n\n” should do the trick but it’s not. I would like the email to come out looking something like this:

    Username: TESTUSER
    Password: TESTPASSWORD
    Please click this link to activate your account: https://domin.com/key

    (obviously I’ve replaced all actual user/password/key with dummy text)

    Any help with this would be GREATLY appreciated!
    Thanks!

    I’ve attached a picture of the page-user-registration.php and a capture of what the email looks like.

    Attachments:
    You must be logged in to view attached files.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.