Restore To Original – Highlighting Query

In this screenshot: https://cl.ly/noys I have a Wordpress Core file that has some suspicious code put into it. In the description above, it says that code highlighted in red will be removed; code highlighted in green will be added. However, the code that's being highlighted in green is the stuff that is suspicious and needs to be removed. And there's no red highlighting. So: I'm confused!

Thanks heaps!