WTBI Background Updates Ignore Git

This plugin will fix WordPress automatic background updates not working when it detects version control (.git or .svn) in the root directory.

Author:Wots the Big Idea (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.6.23
Plugin version:1.0.1
Added to WordPress repository:23-05-2016
Last updated:08-08-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/wtbi-background...
Total downloads:880
Active installs:40+
plugin download
Click to start download

If you find that WordPress automatic background updates are not working on your website, it may be because you have Version Control files in the root of your WordPress instillation. This plugin will fix the issue by setting WordPress to ignore version control files (.git or .svn) in the root directory.

Usage

Before Installing this plugin we recommend you first try to investigate why automatic updates are not working on your site. The best way to do this is to install the Background Update Tester plugin, which is built by the official WordPress.org team.

Once you have installed and activated Background Update Tester, go to Dashboard → Update Tester.
Go ahead and install our plugin if you see a screen which looks like the following…

PASS: Your WordPress install can communicate with WordPress.org securely.

FAIL: The folder /path_to_your_site/example.com/ was detected as being under version control (.git).

PASS: Your installation of WordPress doesn’t require FTP credentials to perform updates.

PASS: All of your WordPress files are writable.

This site is not able to apply these updates automatically. But we’ll email email@example.com when there is a new security release.

Once you have installed and activated our plugin go back to the Update Tester screen, which should now look more like this…

PASS: Your WordPress install can communicate with WordPress.org securely.

INFO: The folder /path_to_your_site/example.com/ was detected as being under version control (.git), but the automatic_updates_is_vcs_checkout filter is allowing updates.

PASS: Your installation of WordPress doesn’t require FTP credentials to perform updates.

PASS: All of your WordPress files are writable.

This site is able to apply these updates automatically. Cool!

^^That’s better!