WordPress Beta Tester

外掛說明

這個外掛提供了參與 WordPress Beta 版測試的簡易方式。

安裝並啟用這個外掛後,點擊按鈕便能透過內建的升級程式將網站升級至每日發佈的小數點版本、Beta 版本或發行候選版本。

依照預設,外掛啟用後便會將網站切換至小數點版本更新通道。

對於勇於嘗鮮的使用者來說,可以選擇切換到最新的開發版本 (Trunk)。

網站升級前,請不要忘記進行全站備份。

請為這個外掛啟用自動更新功能,以確保它能正確處理未來核心程式升級方式的變更。

額外設定

這個外掛有一項 [停用成功自動升級通知電子郵件] 設定,啟用這項設定後,便不會再傳送成功自動升級通知電子郵件至網站管理員,只會傳送自動升級程序執行失敗的電子郵件。

[額外設定] 分頁會包含測試主幹版本新功能所需設定的常數。啟用的功能會在 wp-config.php 檔案中寫入對應的常數,格式如下:

define( 'WP_BETA_TESTER_{$feature}', true );

將功能停用後,這個外掛便會移除對應的常數。

這個外掛在啟用時會重設 wp-config.php 檔案中的常數,而外掛停用時便會刪除這些常數。使用 wp_beta_tester_config_path 篩選器以傳回非標準的 wp-config.php 檔案路徑。

如果這個分頁沒有任何可用的設定,就代表目前測試版不需要這項功能。

歡迎在 GitHub 上提出提取要求。

螢幕擷圖

  • 這個頁面會顯示這個外掛的主要管理介面
  • 這個頁面會顯示這個外掛的額外設定
  • WordPress Beta Tester 控制台小工具

安裝方式

  1. 將壓縮檔解壓縮所得的外掛資料夾上傳至 /wp-content/plugins/ 目錄中
  2. 請於 [外掛] 頁面啟用這個外掛。
  3. 前往管理後台的 [設定]→[Beta 版測試] 設定外掛。
  4. 前往多站網路管理後台的 [設定]→[Beta 版測試] 設定外掛。
  5. 前往 [控制台]→[更新] (3.0 之前版本為 [工具]→[升級]),然後更新至最新的 Beta 版本。

使用者評論

2020 年 8 月 4 日
Always make a backup when testing development releases. Worked great on my end allowing me to see WP 5.5 RC1 and RC2 with improved performance. Thank you for giving us a plugin that allows us to see the future of WordPress!
2018 年 11 月 22 日
I am a very new user of WordPress Beta Tester but I never show as a supporter as WordPress Beta Tester there has all item available and plugins also amazing. The installation system is very easy as a new member/user I am feeling exiting any hesitation wasn't working in my mind. I was thinking for a short time I am playing an interesting game.
閱讀全部 41 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WordPress Beta Tester〉的開發相關工作。

參與者

WordPress Beta Tester 外掛目前已有 24 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 WordPress Beta Tester 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

3.1.4 / 2021-09-24 Hotfix

  • don’t load pluggable.php for wp_create_nonce(), load in plugins_loaded hook

3.1.3 / 2021-09-23

  • nonce, escape, and sanitize all the things

3.1.2 / 2021-09-04

  • only use esc_attr_e for translating strings

3.1.1 / 2021-07-11

  • add @10up GitHub Actions WordPress SVN integration
  • update Codex links for HelpHub links @audrasjb

3.1.0 / 2021-02-08

  • update for working correctly if new WP_AUTO_UPDATE_CORE constant is used.
  • update WP_Beta_Tester::channel_switching_modification() to update past current release if appropriate
  • tweak next versions when coming from point release to bleeding edge

3.0.10 / 2021-01-11

  • re-write WP_Beta_Tester::get_current_wp_release() to check https://api.wordpress.org/core/stable-check/1.0/
  • fix WPBT_Core::get_next_versions() if user on current release
  • tweak WP_Beta_Tester::channel_switching_modification() to work correctly with $wp_version <= $current_release and if on current release

3.0.9 / 2020-12-01

  • add conditional for filter to fix core_update_footer(), fixed in r49708
  • simplify some preg_match() calls
  • fix PHP warning

3.0.8 / 2020-11-28

  • fix some PHP errors when using older versions of WP, for testing updates directly from these older versions like when using Core Rollback plugin

3.0.7 / 2020-11-24

  • tweak to channel_switching_modification()

3.0.6 / 2020-11-21

  • improved flow between Bleeding edge and Point release

3.0.5 / 2020-11-18

  • don’t show beta as a next version when on RC

3.0.4 / 2020-11-17

  • fix to correctly downgrade from Bleeding edge to Point release nightlies.
  • hide stream options other than Nightlies for Point release channel until new Updates API changes
  • add settings for future Updates API above
  • added channel_settings_migrator() for switching between Bleeding edge and Point release channels

3.0.1 – 3.0.3 / 2020-10-27

  • fixed regex to get next versions
  • really didn’t need to use ReflectionClass 🤦‍♂️, thanks @pbiron
  • use ReflectionClass to get static variable $core_update_constant from class WP_Beta_Tester into class WPBT_Core

3.0.0 / 2020-10-23

  • major refactor for new core update API, thanks @dd32!
  • now requires PHP >5.6
  • allows for overrides when using the WP_AUTO_UPDATE_CORE constant
  • update on-screen help

2.2.13 / 2020-09-05

  • enclose WPConfigTransformer in try/catch

2.2.12 / 2020-08-10

  • fix intermittent PHP warning #21
  • deactivate and die if user attempting to run with wordpress-develop

2.2.11 / 2020-08-01

  • minor cleanup

2.2.10 / 2020-05-01

  • sanitize, escape & ignore
  • move multiline boolean operator to front of line, new guidelines in WPCS
  • fix correct_versions_for_downgrade() for being on current release version

2.2.9 / 2020-03-24

  • delete development RSS feed transient after core upgrade

2.2.8 / 2020-03-17 🍀

  • add Dev Notes and Field Guide links to dashboard
  • add text/link for bug reporting to trac
  • add help tabs to screen
  • arbitrarily changed settings page id from wp_beta_tester to wp-beta-tester 😏

2.2.7 / 2020-03-02

  • update trac link in callout for closed or reopened tickets on the milestone
  • only show Beta Tester Settings page link in callout with appropriate privileges, using manage_network_options and manage_options
  • menu to Settings page also checks privileges as above

2.2.6 / 2020-02-25

  • removed extra </li> in dashboard callout, 4th time’s the charm 😭

2.2.5 / 2020-02-25

  • less greedy regex for matching release posts in RSS for dashboard callout

2.2.4 / 2020-02-25 🤦‍♂️

  • added dashboard widget for network dashboard

2.2.3 / 2020-02-25

  • add dashboard widget callout for testing

2.2.2 / 2020-02-22

  • fix for strange Core API response where preferred version response contained the word ‘version’. We now grab the last word of that response

2.2.1 / 2020-02-20

  • fix some i18n strings, thanks @pedro-mendonca

2.2.0 / 2020-02-19

  • added support for updating to the beta/RC offer. Based on and with tons of help from @pbrion, thanks Paul 👏🏻
  • fixed so a downgrade from ‘unstable’ to ‘point’ serves the correct download
  • test and exit from Extra Settings if wp-config.php is not writeable

2.1.0 / 2019-09-17

  • add extra setting to skip successful autoupdate emails
  • add description to checkbox settings
  • composer update

2.0.4

  • add update version information to settings page text

2.0.3

  • a11y fixes for settings tabs
  • update wp-cli/wp-config-transformer

2.0.2

  • a11y fixes for checkbox, thanks @audrasjb

2.0.1

  • fix for incorrect last updated message

2.0.0

  • near complete re-write to use more OOPy practices
  • put distinct process into separate classes
  • allows for multiple settings tabs for addtional settings

1.2.6

  • remove extraneous code
  • add GitHub Plugin URI header

1.2.5

  • fixed error message for downgrading version, thanks @andreas-andersson

1.2.4

  • don’t use $GLOBALS

1.2.3

  • updated a few strings and correct typos
  • run through WPCS linter
  • fixed translation strings to include HTML in context and properly escape with wp_kses_post()
  • fixed link to settings page under Multisite

1.2.2

  • change wording from blog to website

1.2.0

  • Escape output
  • Indicate that Bleeding edge nightlies are trunk
  • new screenshot
  • code improvements from linter

1.1.2

  • Remove anonymous function for PHP 5.2 compatibility.

1.1.1

  • fixed PHP notice for PHP 7.1
  • made URL scheme agnostic

1.1.0

  • Fixed to work properly under Multisite.

1.0.2

  • Update tested up to version to 4.7.
  • Fix the location of the settings screen in Multisite (moved under Settings in Network Admin).
  • Minor text fixes.

1.0.1

  • Update tested up to version to 4.5.
  • Fix PHP7 deprecated constructor notice.
  • Change text domain to match the plugin slug.
  • Update WordPress.org links to use HTTPS.
  • Remove outdated bundled translations in favor of language packs.

1.0

  • Update tested up to version to 4.2.
  • Update screenshot.
  • Fix a couple typos.

See old-changelog.txt for previous changelog items