Created
April 24, 2014 02:48
-
-
Save inetbiz/11239763 to your computer and use it in GitHub Desktop.
wordpress-security-obscurity.php
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 WordPress Generator Meta Tag as a obscurity measure | |
remove_action('wp_head', 'wp_generator'); | |
// Remove it from your RSS feeds | |
function remove_generator_version_rss() { | |
return ''; | |
} | |
add_filter('the_generator', 'remove_generator_version_rss'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment