From fda41f1571b335f296f49563fadbf5c0c87d171e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Ko=CC=88nemann?= Date: Sun, 15 May 2016 20:37:34 +0200 Subject: [PATCH] Adding basic security to theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding security.php to /inc folder with some basic security stuff. For example: Removing „Generator“ info from markup and other WP specific markup which is used by hackers to identify weak WP installs --- inc/security.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 inc/security.php diff --git a/inc/security.php b/inc/security.php new file mode 100644 index 0000000..03036d6 --- /dev/null +++ b/inc/security.php @@ -0,0 +1,29 @@ +ERROR: Stop guessing!"; +} +add_filter( 'login_errors', 'show_less_login_info' );