• Resolved outrospective

    (@outrospective)


    Since my upgrade to WordPress 5.9, I have weird output of source code coming from Wordfence. This does not affect the site frontend or functionality, but nevertheless is kind of strange and should not happen:

    …WordfenceI18nStrings={“${totalIPs} addresses in this network”:”${totalIPs} addresses in this network”,”%s in POST body: %s”:”%s in POST body: %s”,”%s in cookie: %s”:”%s in cookie: %s”,”%s in file: %s”:”%s in file: %s”,”%s in query string: %s”:”%s in query string: %s”,”%s is not valid hostname”:”%s is not valid hostname”,”.htaccess Updated”:”.htaccess Updated”,”.htaccess change”:”.htaccess change”,”404 Not Found”:”404 Not Found”,”Activity Log Sent”:”Activity Log Sent”,”Add action to allowlist”:”Add action to allowlist”,”Add code to .htaccess”:”Add code to .htaccess”,”All Hits”:”All Hits”,”All capabilties of admin user %s were successfully revoked.”:”All capabilties of admin user %s were successfully revoked.”,”An error occurred”:”An error occurred”,”An error occurred when adding the request to the allowlist.”:”An error occurred when adding the request to the allowlist.”,”Are you sure you want to allowlist this action?”:”Are you sure you want to allowlist this action?”,”Authentication Code”:”Authentication Code”,”Background Request Blocked”:”Background Request Blocked”,”Block This Network”:”Block This Network”,”Blocked”:”Blocked”,”Blocked By Firewall”:”Blocked By Firewall”,”Blocked WAF”:”Blocked WAF”,”Blocked by Wordfence”:”Blocked by Wordfence”,”Blocked by Wordfence plugin settings”:”Blocked by Wordfence plugin settings”,”Blocked by the Wordfence Application Firewall and plugin settings”:”Blocked by the Wordfence Application Firewall and plugin settings”,”Blocked by the Wordfence Security…..

    Thanks for lettming mw know what’s wrong here

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @outrospective, thanks letting us know about this.

    Are you seeing this when manually viewing a specific error log file, or is it presenting in the admin area of the site as a PHP error in some way? I understand it’s not showing to site visitors from your description, but was wondering if it was seen by admins. This will just help me identify how the problem might be occurring.

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Thanks,

    Peter.

    Thread Starter outrospective

    (@outrospective)

    Thanks for reaching out Peter

    The code (or the text) is not visible to anyone, neither admin users nor normal users, but there is a difference between admin users and visitors.

    With my admin user, if I go to “view page source” on my website I can see the code, it’s part of the html source code of my website. When I’m a “normal” visitor the code does not show when I check the “view page source” of my website. So it’s definitely only an “issue” for admin users.

    I also just sent the report using my username as requested.

    Thanks

    Plugin Support wfpeter

    (@wfpeter)

    Hi @outrospective, thanks for providing your report.

    I’ve spoken to the developers and the code you’re seeing was added to the plugin at version 7.5.0, and isn’t directly related to the WordPress 5.9 update.

    The code you’re seeing is in the page source for admins only, and is used for translating any Wordfence messages that admins see if the site is configured for a different language. Using the translation functions we’re using, it’s necessary to have them even if they’re in English.

    I hope that helps you out!

    Peter.

    Thread Starter outrospective

    (@outrospective)

    Thanks a lot Peter for the explanation and clarification and sorry that I only found out about it after upgrading my WP to version 5.9 and therefore felt it was related to that.

    Good to know that everything is as it should be 🙂

    Have a nice day

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Strange WF Output in source code after WP 5.9 upgrade’ is closed to new replies.