Remove the WordPress Version Info for Security

The following code you need to add to the special functions.php file, or some other smart place inside WordPress.

// remove version info from head and feeds

function complete_version_removal() {

    return '';

}

add_filter('the_generator', 'complete_version_removal');

This would also be called removing entropy from WordPress.

tags: & category: -