這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WordPress Auto-updates

外掛說明

更新:這個功能性外掛已於 2020 年 8 月 11 日整合至 WordPress 核心程式 5.6 版程式碼中。

這個外掛的開發目的,是為未來外掛及佈景主題自動更新工作做準備。

請注意,這個外掛並不會將目前的程式碼原樣整合至 WordPress 核心程式,而會為核心程式整合目的進行完整重整。這個外掛的開發目的在於討論自動更新準則及使用者介面。

Matt Mullenweg 在 2018 年發表 9 個要在 2019 年達成的核心程式相關焦點專案。開發團隊雖未達標,卻已取得極大的進展,而外掛及佈景主題自動更新便是這 9 個專案之一。這個專案會整合至 WordPress 5.5 核心程式中,而這個外掛證明了這個目標已接近完成。

如需進一步了解相關資訊,請參閱在 Make/Core 上的〈Feature Plugin: WP Auto-updates〉。

每週會議摘要:

另請參閱:

這個專案目前由 Jb AudrasPaul Biron 主導,在 GitHub 上進行開發。

如果有興趣參與這個外掛的開發工作,隨時都可以在 Make WordPress 的 Slack 團隊的 #core-auto-updates 頻道加入我們的行列。我們在 Slack 頻道上每週四的 UTC 17:00 會進行線上會議。

螢幕擷圖

  • 外掛畫面:自動更新已啟用
  • 外掛畫面:可用的更新
  • 佈景主題畫面:啟用自動更新
  • 佈景主題畫面:可用的更新
  • 更新畫面:可用的更新
  • 網站狀態畫面:佈景主題及外掛的自動更新資訊
  • 電子郵件通知範例

使用者評論

2020 年 8 月 6 日
This is a really good idea. I like the way it's integrated in the plugin panel. Integration with Themes is a bit less convenient I have to go through all installed themes. It would be more convient to have the update option in the theme overview page.
閱讀全部 11 則使用者評論

參與者及開發者

〈WordPress Auto-updates〉外掛目前已有 20 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WordPress Auto-updates〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.8.1 🍄

May 18, 2020
– Fix incorrect admin notice text when auto-updates are enabled for a plugin when JS is not enabled in the browser – #130
– Prevent multiple simultaneous requests – #131
– Strip plugins/themes that have been deleted from the site options just before they are updated – #132
– Copy the plugin’s site options to core’s site options on self-deactivation – #133
– fix typos and docs standards – #134

0.8.0 🐪

May 13, 2020
– Self-deactivate the plugin after the functionality has been merged to core – #123
– Remove auto-updates options when plugin is uninstalled – #125
– Use ES5 in the JS, because the core build tools barf on let and const#127
– More pre-merge cleanup – #124
– Add help tabs on update-core, plugins, and themes admin screens – #121
– Cleanup – #119
– I18n – Remove unnecessary concatenation – #117

0.7.0 🦢

May 6, 2020
– PHPCBF fixes – #114
– Remove constants from the feature plugin – #112
– Various i18n fixes/optimizations – #109
– Simplifies Ajax on both the JS and PHP sides – #103

0.6.0 🦋

April 22, 2020
– Add Ajax to Plugin and Themes Screen – #61
– Accessibility: Communicate AJAX enabling/disabling changes to screen readers – #85
– Add Better Handling to Ajax Errors – #90
– Prevent CSS from being enqueued on sub-site plugins & themes screens in multisite – #91

0.5.1 🦒

April 16, 2020
– Add the plugin version when enqueueing styles, for cache busting – #79

0.5.0 🦚

April 15, 2020
– Replace Disable strings with Disable auto-updates – #78
– Update confirmation message wording – #77
– Remove Automatic Updates column from the Network Admin > Sites > Edit > Themes screen – #76
– Replace “Enable” string with “Enable auto-updates” – #75
– Remove dashicons from the UI – #74
– Fix documentation and comment standards – #73
– Remove green and red colors on texts and links – #70
– Don’t display the Enable/Disable link in the Theme Details modal on a subsite in multisite – #68
– Documentation: Improve DocBlocks – #62
– I18n – Merge with similar string – #60
– Add filters and constant to allow developers to disable plugins and themes autoupdate email notifications – #57
– Switch disable link to red on Multisite Themes Screen – #54
– Wrong kick off year in readme.txt – #42

0.4.1 🍺

April 2, 2020
– Network > Sites > Edit > Themes screen doesn’t have the Autoupdates column – #50

0.4.0 🌹

March, 30, 2020
This release brings full support for Themes auto-updates.
It also changes the plugin structure to allow self deactivation when the feature gets merged into WordPress Core.
Please note: the development repository was also migrated from @audrasjb’s personal GitHub account to WordPress.org official GitHub account.
Other changes:
– Change plugin structure to ensure it can self-deactivate when the feature is merged into Core – #37
– Handle both themes and plugins email notifications – #36
– i18n: Merge similar translation strings – #35
– Add and populate Automatic updates column, add and handle enable/disable auto-updates bulk actions to the multisite themes list table – #33
– Avoid duplicate Updating… dialog – #32

0.3.0 🦉

March 16, 2020
– Add functions to handle plugins updates notification emails – #54
– Remove update time text after manual update – #43
– Ensure “Automatic Updates” column is not added if no content would be output in the column – #57
– Specific messages for delayed or disabled cron events – #58
– Prevent mis-match between count in Auto-updates Enabled view and the number of plugins displayed for that view by applying ‘all_plugins’ filter before computing that count. – #59

0.2.1 🐜

March 11, 2020
– Prevent “PHP Notice: Undefined index: plugin_status” when adding the autoupdates_column – #47
– Add plugin_status query arg to the enable/disable links in the Automatic Updates column – #48

0.2.0 🐝

March 6, 2020
– Remove auto-updates column from mustuse and dropins screens – #39
– Ensure the the enable/disable bulk actions appear in the dropdown and are handled in multisite – #38
– Remove dashicon from “Enable” text in plugins auto-updates column – #36
– Replace “Automatic Updates” with “Auto-updates” in filters – #35
– Display only filters with at least one available plugin – #33
– Remove setting from site option when deleting plugin – #32
– Populate site health with plugins auto-updates informations – #24
– In multisite, only add the “Automatic Updates” column on the plugins-network screen – #21
– Add auto-update-enabled and auto-update-disabled views on the plugins screen – #18

0.1.5 🐣

February 26, 2020
– Fix fatal error on PHP 7+
– Fix legacy notice classes
– Various tiny enhancements
– Replace required PHP version

0.1.4 👻

February 26, 2020
– Fix PHP warnings.

0.1.3 ☀️

February 25, 2020
– Replace all “autoupdate” occurrences with “auto-update” which is now the official wording.

0.1.2

February 23, 2020
– Add time to next update in Plugins screen.

0.1.1

February 19, 2020
* Fixes few PHP notices/warnings.

0.1.0

February 18, 2020
* Initial release