Created
October 24, 2017 14:17
-
-
Save ThatGuySam/9badd8883add9f8904380dc719ce97f4 to your computer and use it in GitHub Desktop.
Wordpress Security
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
<?php | |
// https://deliciousbrains.com/wordpress-security-fundamentals/ | |
// Remove the WordPress version from the <head> tag | |
add_filter( 'the_generator', '__return_empty_string' ); | |
// wp-config.php | |
// Disable Errors From Outputting to the Screen | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WP_DEBUG_LOG', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment