Scan finds core WP "critical issue"
-
Hello WordFence Support et al,
Just finished running the first scan on my new WP install, with only one other new plugin (GoodBye Captcha) added so far.
So the scan finishes and pops up 1 issue that it deems to be of Critical severity.
And so of course, the eyes open wide and the brows furrow and the Scooby “Arrroooo!?” echoes through the room.So here is the result. One core WP file (wp-admin/includes/upgrade.php) with one wee little change on one line of code on line 376 with what looks like the addition of a pair of forward slashes at the beginning of the line.
Although I’m not a coder of programmer under any definition anywhere, I think that this is meant to “comment out” that particular line of code. Make it ineffective, inactive.
Does anyone know what this “upgrade.php” file is for and what this particular line of code does?
Is it ok to have WordFence “restore” it to the original? Is it indeed Critical and therefore needs fixing? Or is it ok to ignore it?And it looks like the line (376) deals with perhaps an email message or notice about this being a New WordPress site. Is there a problem here? How would this code have been changed? etc.
The Original Version of the file
https://www.ads-software.com/? "), $blog_url, $name, $password, $login_url );? @wp_mail($email, __('New WordPress Site'), $message);? }? endif;
The Modified Version on your WordPress system
https://www.ads-software.com/? "), $blog_url, $name, $password, $login_url );? <strong>//</strong>@wp_mail($email, __('New WordPress Site'), $message); }? endif;
- The topic ‘Scan finds core WP "critical issue"’ is closed to new replies.