• Resolved GermanKiwi

    (@germankiwi)


    Hi there,

    I noticed that the “Wordfence Alert” emails that this plugin sends out (eg. when blocking an IP) use the wrong site URL in the Subject field.

    Specifically, the emails are taking the website URL from the “site_url” variable, which is incorrect. They should be taking the website URL from the “home_url” variable instead.

    This is an issue for those of us who have installed WordPress into a subdirectory. The result is that your email subjects look like this:

    [Wordfence Alert] www.example.com/wordpress Blocking IP 123.456.654.321

    …where that URL is invalid. It’s the installation URL but not the actual site URL.

    Can you kindly update your email templates to use the “home_url” variable instead? Thanks!

    https://wordpress.org/plugins/wordfence/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wordfence Alert emails use wrong URL in Subject’ is closed to new replies.