WordPress.org

Ready to get started?Download WordPress

Forums

Wordfence Security
[resolved] False positive for core localised WordPress files (7 posts)

  1. andyexeter
    Member
    Posted 6 months ago #

    Hello,

    The plugin is reporting false positives for my en_GB WordPress install for the files:

    wp-config-sample.php
    wp-includes/version.php

    It appears the plugin is using the standard en_US distro to compare files against so for example when it encounters line 37 of wp-includes/version.php in en_GB distros:

    $wp_local_package = 'en_GB';

    The plugin assumes this to be a critical issue because that line isn't in the en_US distro

    http://wordpress.org/plugins/wordfence/

  2. Wordfence
    Member
    Plugin Author

    Posted 5 months ago #

    Thanks, can you tell me what it's complaining about in the wp-config-sample.php file?

    Thanks.

  3. andyexeter
    Member
    Posted 5 months ago #

    No problem. It's line 72 of the wp-config-sample.php file

    The original:

    define('WPLANG', '');

    The en_GB distro:

    define('WPLANG', 'en_GB');

  4. Wordfence
    Member
    Plugin Author

    Posted 5 months ago #

    Thanks I've filed this as a bug and we'll get it fixed for you. Thanks for the additional info.

    Regards,

    Mark
    PS: If you found this helpful, please rate Wordfence 5 stars.
    http://wordpress.org/plugins/wordfence/

  5. andyexeter
    Member
    Posted 5 months ago #

    You're welcome. 5 star rating and review posted. Excellent plugin!

  6. Wordfence
    Member
    Plugin Author

    Posted 5 months ago #

    Thanks Andy.

  7. Reklawyks
    Member
    Posted 5 months ago #

    Hi,

    This false positive actually happens probably on all non english wordpress.

    Se below the alert (on a french WP)

    Critical Problems:

    * WordPress core file modified: readme.html
    * WordPress core file modified: wp-config-sample.php
    * WordPress core file modified: wp-includes/version.php

Reply

You must log in to post.

About this Plugin

About this Topic