Title: Forced Auto Updates
Author: lelandf
Published: <strong>2018 年 1 月 30 日</strong>
Last modified: 2018 年 1 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/forced-auto-updates.svg)

# Forced Auto Updates

 作者：[lelandf](https://profiles.wordpress.org/lelandf/)

[下载](https://downloads.wordpress.org/plugin/forced-auto-updates.zip)

 * [详情](https://cn.wordpress.org/plugins/forced-auto-updates/#description)
 * [评价](https://cn.wordpress.org/plugins/forced-auto-updates/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/forced-auto-updates/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/forced-auto-updates/#developers)

 [支持](https://wordpress.org/support/plugin/forced-auto-updates/)

## 描述

By default, WordPress will not apply [automatic background updates](https://codex.wordpress.org/Configuring_Automatic_Background_Updates)
if it detects a version control system (like Git or Subversion) in the WordPress
directory or any of its parent directories.

WordPress does this because it assumes that if version control systems are present,
the site owners have their own system in place for managing updates, and WordPress
doesn’t want to mess with that.

However, minor updates can contain critical security vulnerability fixes, and those
aforementioned site owners may consider the benefit of having minor releases automatically
updated by WordPress greater than the risks of waiting too long to apply those updates
themselves.

If that sounds like you, then you may wish to consider installing this option-free
plugin.

Just activate when you need it.

Perhaps before a “disconnected” vacation when you don’t want to run the risk of 
a security update being released during it, and having no way of applying said update
until your return.

Deactivate it when you don’t.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/forced-auto-updates` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. That is it. There is no settings page.

## 常见问题

  Installation Instructions

 1. Upload the plugin files to the `/wp-content/plugins/forced-auto-updates` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. That is it. There is no settings page.

  Can’t I get the same effect with a single line of code?

Yes, here it is: `add_filter( 'automatic_updates_is_vcs_checkout', '__return_false',
1 );`

That’s all this plugin does. Hosting it here just provides another way of applying
that line of code, but if you prefer another method, feel free to use that and disregard
this plugin.

  What if I need more granular control to my auto updates?

There are several plugins you can use instead. For example, [Update Control](https://wordpress.org/plugins/update-control/),
[Advanced Automatic Updates](https://wordpress.org/plugins/automatic-updater/), 
and [Easy Updates Manager](https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/).

This plugin will always be option-free and only facilitate automatic background 
updates of minor WordPress releases.

And keep in mind, despite the word “minor,” they can include critical security vulnerability
fixes in WordPress core.

  How can I tell if my auto updates will work, before a minor release is pushed?

You can use a plugin by the WordPress team called [Background Update Tester](https://wordpress.org/plugins/background-update-tester/).

It will warn you if there’s any reason an automatic background update would not 
apply.

  If my WordPress site always applies automatic background updates, do I need this
plugin?

Probably not. You only need it if you’re using version control system like Git or
Subversion.

You can use the [Background Update Tester](https://wordpress.org/plugins/background-update-tester/)
plugin to confirm though.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Forced Auto Updates」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ lelandf ](https://profiles.wordpress.org/lelandf/)

[帮助将「Forced Auto Updates」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/forced-auto-updates)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/forced-auto-updates/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/forced-auto-updates/)，或通过[RSS](https://plugins.trac.wordpress.org/log/forced-auto-updates/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/forced-auto-updates/)。

## 更新日志

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.7.0 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/forced-auto-updates/)
 * 标签
 * [updates](https://cn.wordpress.org/plugins/tags/updates/)
 *  [高级视图](https://cn.wordpress.org/plugins/forced-auto-updates/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/forced-auto-updates/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/forced-auto-updates/reviews/)

## 贡献者

 *   [ lelandf ](https://profiles.wordpress.org/lelandf/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/forced-auto-updates/)