Homec4science

WordPress: Only ignore files in root to support other plugins

Authored by Mike Pretzlaw <pretzlaw@gmail.com> on Sep 11 2015, 06:54.

Description

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

Details

Committed
Mike Pretzlaw <pretzlaw@gmail.com>Sep 11 2015, 06:54
Pushed
aubortJul 2 2018, 16:12
Parents
rGITIGNORE23aad6abc4ed: Merge pull request #1640 from bpasero/patch-1
Branches
Unknown
Tags
Unknown

Event Timeline

Mike Pretzlaw <pretzlaw@gmail.com> committed rGITIGNOREfb86177e9a2e: WordPress: Only ignore files in root to support other plugins (authored by Mike Pretzlaw <pretzlaw@gmail.com>).Sep 11 2015, 06:54