WP Login Alerts by DigiP
[resolved] Code modifications (3 posts)

  1. gcaleval
    Posted 3 years ago #

    So I looked at the code and made some changes that I'd like to confirm do not introduce any nasties:

    I added at line 20:

    $thissite = $_SERVER['HTTP_HOST'];

    I changed the Subject code at line 40:

    $subject = "Login Event: ".htmlentities($thissite)."";

    I changed the message code on line 41:

    $message = " WordPress Login Attempt".htmlentities($who)."\r\n On ".htmlentities($thissite)....

    These changes produce an email of the form
    Subject: Login Event: wordpress.org

    WordPress Login Attempt By SomeUserName
    On wordpress.org

    === All else remains the same.

    Any problems with or objections to these edits?


  2. DigiP
    Plugin Author

    Posted 3 years ago #

    Will be pushing some new changes today.

  3. DigiP
    Plugin Author

    Posted 2 years ago #

    Subject lines have been changed few revisions ago.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Login Alerts by DigiP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic