Skip to content

Commit

Permalink
WordPress: Only ignore files in root to support other plugins
Browse files Browse the repository at this point in the history
Most files are ignores without defining the directory.
This caused trouble with several plugins.
To fix that some files should only be ignored in the root directory.

- .htaccess is only ignored in the root directory
  due to some plugins or devs that need and create the htaccess
  for security issues in subfolders
- sitemap.xml and sitemap.xml.gz is only ignored in the root directory
  due to plugins that have an equal name and are therefor ignored
- Those files are ordered alphabetically
  • Loading branch information
ScreamingDev committed Sep 11, 2015
1 parent 23aad6a commit fb86177
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WordPress.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
*.log
.htaccess
sitemap.xml
sitemap.xml.gz
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
Expand All @@ -13,6 +10,9 @@ wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php

/readme.html
/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz

0 comments on commit fb86177

Please sign in to comment.