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.

评价

此插件暂无评价。

贡献者及开发者

「Core Version Switcher」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Core Version Switcher」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Core Version Switcher」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.1

  • Tested compatibility up to WordPress 7.1.4.

1.0.0

  • Initial release.