1
0
mirror of https://github.com/github/gitignore synced 2024-11-23 12:14:21 +01:00
gitignore/WordPress.gitignore
Mike Pretzlaw fb86177e9a WordPress: Only ignore files in root to support other plugins
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
2015-09-11 06:54:59 +02:00

19 lines
300 B
Plaintext

*.log
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php
/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz