WordPress core file modified notification

Hi,

I’m using the plugin Wordfence and just got a notification that 5 core files were modified. I’m not seeing anything that has changed on my website. Still looks the same. I’m not sure what to do.

The files are modified are:
wp-admin/includes/upgrade.php
wp-includes/functions.php
wp-includes/load.php
Unknown file in WordPress core: wp-includes/functions.php.orig
Unknown file in WordPress core: wp-admin/includes/upgrade.php.orig

I am not good at php so not sure if this is bad, but I’ve looked at the first modified file to see what’s changed and this is what is says:

Original version:
if ( is_wp_error( $result ) )
die( $result->get_error_message() );

Modified version:
if ( is_wp_error( $result ) ) {
echo $result->get_error_message();
exit(1);

And should I delete the unknown files? I hope you can help me.

Kind regards,
Michelle

Hi Michelle,

Please note that only provide support related to the theme and Cornerstone.

But, you might want to try to reinstall your Wordpress version and this should restore the correct core files of Wordpress.

However, please make sure to keep a full backup of the site before reinstalling just in case you will need it.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.