One way to keep your WordPress site secure is to keep it and everything in it up to date. Meaning that you have to update the core software which is WordPress and the theme you are using. In my case, it’s GeneratePress. One last thing to update are the plugins you are using and in my case… that’s…well…. that’s a long list for another time.
Instead of checking your WordPress update section all the time anticipating a new update, there’s a way to enable automatic update for WordPress. You just set it once and forget it.