Core Rollback

外掛說明

使用 Core Update API 及核心程式更新方法,將 WordPress 現有版本核心程式無縫指定安裝為最新發佈版本、任何舊版發佈版本或安全性維護版本,且僅能安裝這些版本。請參考 https://api.wordpress.org/core/stable-check/1.0/。標誌來自迷因產生器,Allie Brosh 的原始作品

使用方式

在 [工具] 選單中選取 [安裝指定版本核心程式],然後從下拉式選單中選取要安裝的指定版本,並點擊 [安裝指定版本]。外掛會將使用者重新導向至 [WordPress 更新] 頁面,點擊 [立即重新安裝] 按鈕便能安裝剛剛指定版本的核心程式。如果在點擊 [立即重新安裝] 按鈕前離開 [WordPress 更新] 頁面,請在 15 秒內返回並完成更新程序,否則便需要重新開始。

外掛在多站網路中會出現於 [設定] 選單。

警告:將 WordPress 網站進行降級,有可能會導致網站無法使用;如果發生這種狀況,便需要進行完整重新安裝或使用 WP-CLI 強制重新安裝 (例如 wp core update --force --version=5.5.3)。網站核心程式降級,也可能會因為外掛或佈景主題不相容而導致停擺。如需使用這個外掛,風險自負

安裝核心程式指定版本,會安裝網站目前的本地化版本。

非常歡迎提出提取要求。

螢幕擷圖

  • [工具] 選單項目
  • 核心程式發佈版本下拉式選單
  • 用於安裝核心程式指定版本的 [立即重新安裝] 按鈕

使用者評論

2024 年 11 月 5 日 2 則留言
I attempted to use it on my test site and it would not rollback to any previous versions. I ended up using another plugin which worked effortlessly.
2024 年 8 月 5 日 1 則留言
Thank you so much for making this plugin, very helpful and thank you also for updating it. I used quite a lot and I always had no issue. Thank you for being so great with us.
2024 年 2 月 22 日 1 則留言
So thankful for this when you’re troubleshooting whether an issue is related to a new version or not!
2023 年 11 月 20 日
A handy time saver for developers trying to test their code against legacy WP versions. Thanks for making this!
閱讀全部 10 則使用者評論

參與者及開發者

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

參與者

〈Core Rollback〉外掛目前已有 11 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Core Rollback〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.7 / 2024-12-02

  • start in init hook
  • add GitHub Action to generate POT

1.3.6 / 2024-11-01

  • remove load_plugin_textdomain()
  • composer update

1.3.5 / 2023-07-12

  • update rollback choices for PHP version

1.3.4 / 2023-02-07

  • composer update

1.3.3 / 2023-02-05

  • update for PHP 8.1

1.3.2 / 2022-05-10

  • use wp_is_block_theme() for check

1.3.1 / 2022-02-08

  • use sanitize_key() for nonces

1.3.0 / 2022-01-28

  • filter WP versions with significant deprecation notices/errors for newer PHP versions
  • add notice about limiting of rollback options for PHP versions

1.2.4 / 2022-01-14

  • proper nonce verification of settings page
  • remove unneededd version_compare check for notice

1.2.3 / 2022-01-11

  • I suck and so do typos

1.2.2 / 2022-01-11

  • need to use method_exists in check to properly function

1.2.1 / 2022-01-11

  • add function_exists( 'is_block_theme' ) check to avoid fatal

1.2.0 / 2022-01-10

  • add method to return array of block capable WP versions for rollback

1.1.2 / 2022-01-10

  • add notice if currently using block theme, thanks @costdev

1.1.1 / 2021-10-14

  • use sanitize_title_with_dashes() as sanitize_file_name() maybe have attached filter that changes output

1.1.0 / 2021-07-07

  • add @10up GitHub Actions for WordPress SVN

1.0.1 / 2020-12-4

  • fix text-domain in string, thanks Alex

1.0.0 / 2020-11-17

  • initial release to dot org repository
  • add Class Bootstrap to intiate process
  • updated instructions, etc
  • add assets, screenshots, banners, icon
  • add readme.txt and clean up create_admin_page()
  • add warning notice to settings
  • add force-check query arg to redirect to more consistently display the Re-install Now button.
  • limit rollbacks to WP > 4.0, I found some non-recoverable issue in my local testing
  • initial release