![]() |
wordpress security tip: remove your wordpress version number
Gonna make this quick since Im posting this on my iphone.
Some of your, infact a lot that do this are doing it incorrectly. This is what 95% of the people have that I see. Code:
remove_action('wp_head', 'wp_generator'); This will remove it from your theme, but it will still show up in your feeds. All you have to do is add this to your themes functions.php file. (this is the proper way) Code:
add_filter('the_generator',create_function('$a',"return null;")); |
nice tip frissy
|
good idea but where in the file does it actually go?
|
good tip there :thumbsup
|
Quote:
Here are a couple links worth reading http://codex.wordpress.org/Theme_Dev...Functions_File http://www.pearsonified.com/2008/05/...-functions.php http://yoast.com/wordpress-functions-supercharge-theme/ http://www.flowdrops.com/blog/wordpr...functions-php/ |
thanks for sharing man
You are a true Ninja |
What's "$a"?
|
Quote:
:thumbsup |
All times are GMT -7. The time now is 02:02 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123