From cd92ee374aac7d1697d3eac31ae13793cdeaf44e Mon Sep 17 00:00:00 2001 From: Pedro Machado Santa Date: Thu, 23 Jan 2020 20:16:15 +0000 Subject: [PATCH] Add languages folder and add commented lines for a whitelist approach --- WordPress.gitignore | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/WordPress.gitignore b/WordPress.gitignore index 4fceea09..ba95e278 100644 --- a/WordPress.gitignore +++ b/WordPress.gitignore @@ -7,6 +7,7 @@ # you can delete this whole section/until Configuration. /wp-admin/ /wp-content/index.php +/wp-content/languages /wp-content/plugins/index.php /wp-content/themes/index.php /wp-includes/ @@ -32,4 +33,16 @@ wp-config.php *.log # htaccess -/.htaccess \ No newline at end of file +/.htaccess + +# All plugins +# +# Note: If you wish to whitelist plugins, +# uncomment the next line +#/wp-content/plugins + +# All themes +# +# Note: If you wish to whitelist themes, +# uncomment the next line +#/wp-content/themes \ No newline at end of file