説明
コアアップデート API とコアアップデートメソッドを使用して、WordPress を最新リリースまたは任意の古いセキュリティリリースにシームレスにロールバックします。
https://api.wordpress.org/core/stable-check/1.0/ を参照
Logo from a meme generator. Original artwork by Allie Brosh.
使い方
ツールメニューからRollback Core
を選択し、ドロップダウンメニューでロールバックしたいバージョンを選択し、ロールバック
をクリックします。 WordPress の更新
ページが表示され、指定したバージョンの 再インストール
ボタンが表示されます。 再インストール
ボタンをクリックする前にページから離れた場合、15秒以内に戻って処理を完了しなければ、最初からやり直す必要があります。
マルチサイトでは、設定メニューを使用してください。
警告 : WordPress をダウングレードすると、サイトが使用できない状態になり、完全な再インストールまたは wp core update --force --version=5.5.3
のような WP-CLI を使用した強制再インストール、が必要になる場合があります。また、プラグインやテーマの非互換性により、サイトが壊れたままになる可能性もあります。 ご自身の責任においてご使用ください。
ロールバックは、現在のロケールを使用します。
PRは大歓迎です。
評価
貢献者と開発者
変更履歴
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()
assanitize_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 upcreate_admin_page()
- add warning notice to settings
- add
force-check
query arg to redirect to more consistently display theRe-install Now
button. - limit rollbacks to WP > 4.0, I found some non-recoverable issue in my local testing
- initial release