=== Core Version Switcher ===
Contributors: kananiparth1326
Tags: version switcher, core switcher, developer tools, downgrade, upgrade
Requires at least: 5.0
Requires PHP: 7.4
Tested up to: 7.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://pages.razorpay.com/pl_T7Kh8oN3Z8jAyN/view

Easily switch between WordPress core versions safely from the dashboard.

== Description ==

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.

== Installation ==

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.

== Frequently Asked Questions ==

= 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.

== Screenshots ==

1. The Core Version Switcher administration control page in the WordPress dashboard.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Core Version Switcher.

== 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.
