Created
June 6, 2012 16:21
-
-
Save habibmac/2883028 to your computer and use it in GitHub Desktop.
WP: Remove the WordPress Version Info for Security
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remove version info from head and feeds | |
function complete_version_removal() { | |
return ''; | |
} | |
add_filter('the_generator', 'complete_version_removal'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment