Core Version Switcher

描述

Allows developers and site administrators to quickly switch between different WordPress core versions directly from the WordPress dashboard. Ideal for testing plugin compatibility, debugging version-specific issues, or downgrading/upgrading WordPress core safely.

Developer Notes

This plugin uses PostCSS for CSS compilation and nesting. Source files and build configurations are included.

CSS Compilation

To build the compiled stylesheets:
1. Ensure Node.js and npm are installed.
2. Run npm install in the plugin directory to install dependencies.
3. Run npm run build to compile styles from src/css/ to admin/css/.

Coding Standards

To run WordPress coding standard checks:
1. Ensure Composer is installed.
2. Run composer install to install development packages.
3. Run vendor/bin/phpcs to check PHP code against WordPress standards.

安裝

  1. Upload the core-version-switcher folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Dashboard -> Core Version Switcher to configure and switch versions.

常見問題

How do I switch WordPress versions?

Go to Dashboard -> Core Version Switcher, select your target version from the dropdown or type a custom/nightly version, click “Save Target Version”, then click the “Install Selected WordPress Version Now” button.

Is it safe to switch/downgrade WordPress versions?

Switching core versions (especially downgrading) overwrites database tables and source files. It is highly recommended to back up your database and files before proceeding.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Core Version Switcher” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Core Version Switcher 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • Initial release.