WP Downgrade | 指定核心程式版本

外掛說明

WordPress 核心程式的降級/升級程式

台灣繁體中文:WP Downgrade 外掛能強制 WordPress 更新常式執行指定版本的 WordPress 安裝。外掛會從 WordPress.org 下載網站管理員指定的核心程式安裝套件,並會如平時的定期更新般安裝更新。使用這個外掛便可以讓網站永久使用舊版核心程式,或更新至指定版本。

外掛使用者 Gahapati 說明的比我 (指開發者) 清楚的多,感謝他的說明。

WP Downgrade 很有潛力成為那些因故無法將 WordPress 更新至最新版本的使用者最愛的外掛之一。

在過去,WordPress 的自動更新常式只提供最新的核心程式發佈版本,這會造成網站管理員在等待外掛解決與 WordPress 較新版本的相容性問題期間,核心程式又發佈新的更新版本,這導致最後多數人都採用相當繁瑣、耗時且容易出錯的手動更新。

現在有了 WP Downgrade 外掛,便能將以往的不便拋諸腦後。任何版本的 WordPress 網站,都能透過 WP Downgrade 外掛讓內建的自動更新功能降級至較舊的版本;WP Downgrade 的運作原理只是讓 WordPress 以為網站管理員指定安裝的版本是目前的最新版本,與平時更新至最新版本的程序並無不同。

基於安全性考量,個人認為這是一個對安裝 WordPress 網站有一定基礎的使用者的必備外掛,這個外掛的功能應該納入核心程式中,讓使用者能夠自行決定安裝哪一個安全性版本,而不是只能更新到最新版本。

進階功能:如有需要,網站管理員可自行手動編輯核心程式安裝套件 ZIP 壓縮檔的下載連結。舉例來說,這樣便能安裝不同語言版本核心程式,或使用來自其他來源的發佈版本。

德文:Das Plugin “WP Downgrade” zwingt die WordPress-interne Update-Funktion, ein bestimmtes WordPress-Release zu installieren. Das definierte Core-Release wird wie ein reguläres Update von wordpress.org bezogen und direkt installiert.
Das klappt wie gewohnt per Update-Button im Admin-Bereich oder per Auto-Update. Die Versionsnummer kann sowohl höher als auch niedriger sein als die aktuell installierte Version. Somit ist also auch ein Rollback auf frühere Releases möglich. Dein WordPress wird solange auf dieser Version bleiben, bis du eine neue Versionsnummer in WP-Downgrade hinterlegst (oder bis du die Versionsnummer leerst oder das Plugin deaktivierst).

Achtung: Nutzung auf eigene Gefahr!

WP-Downgrade funktioniert normalerweise prima. Trotzdem ist ein Versionswechsel immer ein riskanter Eingriff! Du solltest auf jeden Fall vorher ein Backup deiner Dateien und der Datenbank anlegen! Ich übernehme keinerlei Gewähr für deine Installation und werde auch keinen Support leisten.

Plugin hilfreich? Sag Danke!

Ich stelle das Plugin kostenlos zur Verfügung, freue mich aber sehr über Spenden oder einen Link auf meinen Reiseblog https://www.reisetiger.net! 🙂
Bitte bewerte WP Downgrade, wenn es für dich nützlich ist!

螢幕擷圖

  • 輸入發佈版本號碼的欄位
  • 指定版本號碼設定已儲存
  • 設定的版本號碼成為可進行更新的版本

安裝方式

Der einfachste Weg:

  1. Gehe in deinem WordPress Backend auf Plugins -> Installieren und suche dort nach “WP Downgrade”.
  2. Klicke in der Trefferliste bei “WP Downgrade” auf “Jetzt installieren”
  3. Aktiviere das Plugin
  4. Nun findest du unter “Einstellungen” einen neuen Punkt namens “WP Downgrade”. Dort kannst du die gewünschte Core-Versionsnummer hinterlegen und anschließend das WordPress-Update vornehmen.

Der manuelle Weg:

  1. Lade das Plugin herunter
  2. Entpacke die ZIP-Datei
  3. Lade den gesamten Ordner wp-downgrade per FTP in das Verzeichnis /wp-content/plugins/ auf deinen Blog hoch
  4. Gehe in deinem WordPress Backend zu Plugins und aktiviere das Plugin
  5. Nun findest du unter “Einstellungen” einen neuen Punkt namens “WP Downgrade”. Dort kannst du die gewünschte Core-Versionsnummer hinterlegen und anschließend das WordPress-Update vornehmen.

常見問題集

沒有出現升級/重新安裝按鈕。

如果相關功能遭到其他外掛或佈景主題的自訂程式碼封鎖,在 /wp-admin/update-core.php 頁面便不會出現升級/重新安裝按鈕。網站管理員此時可以嘗試以下操作:

  1. 停用除了 WP Downgrade 之外的全部外掛。
  2. 切換至標準 Twenty 系列佈景主題。
  3. 在 wp-config.php 中移除類似 define( 'WP_AUTO_UPDATE_CORE', false ); 的自訂程式碼。
  4. 在 wp-config.php 中移除類似 remove_action( 'init', 'wp_version_check' ); 的自訂程式碼。
  5. 在 wp-config.php 中移除類似 add_filter('pre_option_update_core','__return_null'); 的自訂程式碼。
  6. 在 wp-config.php 中移除類似 add_filter('pre_site_transient_update_core','__return_null'); 的自訂程式碼。
  7. /wp-content/mu-plugins/ 目錄中移除 gd-system-plugin。
  8. 在 wp-config.php 中移除對 gd-config.php 的參照。

使用者評論

2023 年 11 月 8 日
WP core updated automatically to 6.4 One of my important plugins stopped working correctly. I downgraded WP core to 6.3.2. It was really easy. Now I have turned off WP-core automatic plugin. Definetely keeper!! Big thanks
2023 年 11 月 8 日
Have no fear using this. Absolute genius, works fast and saved my production site after an auto upgrade to 6.4. THANKS
2023 年 10 月 21 日
Saved me a ton of time when I needed to downgrade from the latest Wordpress that had some issues. It was super easy to install and set the old version I wanted.
2023 年 8 月 17 日
Works like a charm, thanks a lot!! Please think about moving the menu item from "Settings" to "Tools"
2023 年 7 月 2 日
tried different versions and manually input link but nothing. version stays the same.
2023 年 6 月 4 日
We were going to research WP/CMD line to downgrade our client's site to a release/build, but this plugin works as designed and FAST! Thank you and we have already blogged about this Magical Plugin 🙂 Dave
閱讀全部 164 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Downgrade | 指定核心程式版本〉的開發相關工作。

參與者

〈WP Downgrade | 指定核心程式版本〉外掛目前已有 17 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WP Downgrade | 指定核心程式版本〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.2.6

  • Fixed PHP Fatal error: Uncaught Error: Attempt to modify property “updates”
  • testet up to WordPress 6.2
  • compatibility with PHP 8.1

1.2.5

  • Small code improvement

1.2.4

  • Improved code quality

1.2.3

  • security fix (Thanks for reporting!)
  • testet up to WordPress 5.9
  • Donation link in readme.txt updatet. Thanks for your support!

1.2.2

  • compatibility with WordPress 5.5.1
  • Donation link added. I am very pleased with a coffee or a beer!

1.2.1

  • compatibility with WordPress 5.3.2
  • Bugfix for URL with language EN

1.2.0

  • Advanced option: You are now able to manually edit the download link, if necessary. This allows, for example, a change of language. Or you can get the release from another source.
  • Notes improved a little.
  • compatibility with WordPress 5.0.2

1.1.4

  • Improved access to the settings page (link from plugin overview)
  • compatibility with WordPress 4.7.1

1.1.3

  • bugfix on downloading certain languages
  • compatibility with WordPress 4.7

1.1.2

  • cleaned up code
  • small design change
  • added version number check

1.1.1

  • Englische Sprachdateien hinzugefügt. Vielen Dank an Gahapati!!

1.1.0

  • Fehler bei Sprachen ungleich “de_DE” behoben. Danke an Gahapati!!

1.0.0

  • Erste stabile Beta-Version
  • WordPress Downgrade oder Update nach Wahl
  • Funktioniert für Deutsche Sprachversion