Skip to content

Commit cd92ee3

Browse files
committed
Add languages folder and add commented lines for a whitelist approach
1 parent 3514a03 commit cd92ee3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

WordPress.gitignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# you can delete this whole section/until Configuration.
88
/wp-admin/
99
/wp-content/index.php
10+
/wp-content/languages
1011
/wp-content/plugins/index.php
1112
/wp-content/themes/index.php
1213
/wp-includes/
@@ -32,4 +33,16 @@ wp-config.php
3233
*.log
3334

3435
# htaccess
35-
/.htaccess
36+
/.htaccess
37+
38+
# All plugins
39+
#
40+
# Note: If you wish to whitelist plugins,
41+
# uncomment the next line
42+
#/wp-content/plugins
43+
44+
# All themes
45+
#
46+
# Note: If you wish to whitelist themes,
47+
# uncomment the next line
48+
#/wp-content/themes

0 commit comments

Comments
 (0)