Hi all,
Had a Wordfence scan today flag on a couple of issues, it might be because I recently had some plugins updated, but just in case.
The flags relate to cored files having been changed. When I looked at the details the highlighted additions were:
In WordPress core file modified: wp-includes/post.php:
do_action('godaddy/wp_insert_post/before_get_post_instance');
$fresh_posts = apply_filters('godaddy/prime_post_caches/posts', $fresh_posts, $non_cached_ids);
In WordPress core file modified: wp-includes/taxonomy.php:
$fresh_terms = apply_filters('godaddy/prime_term_caches/terms', $fresh_terms, $non_cached_ids);
I also had flags on:
Unknown file in WordPress core: wp-includes/post.php.orig
Unknown file in WordPress core: wp-includes/taxonomy.php.orig
I know next to nothing about all this, but I'm assuming these are connected and a result of plugins having recently updated? Or perhaps WordPress?
advice welcomed.
Neil
You can’t modify core files, pull fresh ones from the repo and examine the origin of all your themes and plugins.
Nothing should be changing core files. The changes you’ve shown don’t appear to be malicious. Are you using godaddy hosting? Do you have a godaddy related plugin installed?
Some managed WP hosts modify core files. They shouldn’t, but they do. You’re probably ok
I’ve gotten this same alert in the past week from a couple of client sites who use godaddy for hosting. It’s annoying but so far as i can tell not causing any noticeable issues.