There had been issue and talk going around about wordpress sites being hacked. One main thing that most of the hackers look for is the Version of the wordpress that is being used for the site. Well if you are worried about it, here is a sweet short code that will remove the wordpress version from your source code without having to use any wordpress plugins.
Open your functions.php and add the following line:
Open header.php and remove the following lines:
Open your functions.php and add the following line:
remove_action('wp_head', 'wp_generator');
Open header.php and remove the following lines:
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
Comments
Post a Comment