Showing your exact WordPress version tells an attacker which known weaknesses to try. WordPress Version hides it from everyone who doesn’t need it, while administrators still see it, along with update notices.

Settings
- Hide WordPress version: removes the version from:
- the admin footer and the At a Glance Dashboard widget,
- the generator tag in your pages’ source and in feeds,
- the addresses of WordPress’s own scripts and styles.
Who still sees it
Users who can update WordPress, normally administrators, still see the version and any update notice in wp-admin. Everyone else, and every visitor, doesn’t.
Your pages still load fresh files
In script and style addresses, the version is replaced by a short code that still changes with every WordPress update, so browsers keep fetching the new files after you update.
For the generator tag and other head tags on their own, see Performance → HTML Head Cleanup.
See also HTML Head Cleanup and Admin Footer.
Get the plugin: All-in-One Utilities is free, so you can add it to any site. Then, when you need more, its premium add-ons add extra features.