=== RIS Version Switcher - Downgrade or Upgrade WP Versions Easily ===
Contributors: dewdropz, realwebcare
Donate link: https://www.realitsolution.com/
Tags: version control, version switcher, wordpress version, wordpress rollback, downgrade, update management, plugin rollback, theme rollback, core update, wp rollback, rollback, version rollback, downgrade plugin, downgrade theme, version manager
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Effortlessly switch between WordPress core, plugin, and theme versions for compatibility testing, troubleshooting, and rollback. Roll back to a previous version or upgrade to a specific one with a single click. The ultimate WordPress version management tool for site administrators and developers.

== Description ==

**RIS Version Switcher** empowers WordPress administrators and developers with the ability to manage WordPress core, plugin, and theme versions seamlessly. Whether you need to roll back to a previous version, downgrade to an older release, or upgrade to a specific version, this plugin simplifies the entire process, ensuring compatibility and reliable performance.

**Why RIS Version Switcher?**

- **WordPress Core Rollback**: Downgrade or upgrade your WordPress core installation to any version. Perfect for testing theme compatibility, plugin conflicts, or when a new WordPress update breaks your site.
- **Plugin Version Rollback**: Roll back any plugin to a specific version from the WordPress.org repository. Essential when a plugin update causes conflicts, bugs, or a white screen of death.
- **Theme Version Rollback**: Roll back any theme to a previous version for testing or when a theme update breaks your design or layout.
- **One-Click Version Switch**: No technical expertise required — simply select the version you want and click switch.
- **Built-in Safety Warnings**: Get clear warnings when switching your currently active theme or critical components.
- **Modern Progress Modal**: Watch real-time progress with step-by-step status updates and an animated progress bar.
- **Compatible with WordPress 5.0 through 7.0**: Works across all recent WordPress versions.

With an intuitive interface and a modern design, RIS Version Switcher is the ultimate tool for maintaining site stability, testing compatibility, and troubleshooting issues without hassle. Perfect for developers, site managers, and anyone needing quick and effective WordPress version control — all directly from your WordPress admin panel.

**Common Use Cases:**
- Your site broke after a WordPress core update — rollback to the previous version.
- A plugin update caused a fatal error — switch to a working version.
- Theme update changed your design unexpectedly — rollback to a known good version.
- Testing plugin or theme compatibility before a live update.
- Resolving the white screen of death (WSOD) caused by version incompatibility.


### Key Features:
- Downgrade or upgrade **WordPress core** to any version.
- Roll back **plugins** to specific versions for testing or compatibility.
- Roll back **themes** to specific versions for testing or compatibility.
- Simple, user-friendly interface for easy version selection.
- Ideal for troubleshooting plugin conflicts or theme issues.
- One-click version switching with no technical expertise required.
- Modern progress modal with step-by-step status and progress bar.
- Built-in safety warning when switching your currently active theme.

Take control of your WordPress environment today with RIS Version Switcher!

== Installation ==

1. Upload the `ris-version-switcher.zip` file to the `/wp-content/plugins/` directory, or install the plugin through the WordPress Plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to the **"RIS Version Switcher"** menu in the WordPress admin dashboard to access version control options.

== Frequently Asked Questions ==

= Is RIS Version Switcher compatible with multisite installations? =
Currently, RIS Version Switcher only supports single-site installations.

= Can I switch to the latest WordPress version using this plugin? =
Yes, simply select the latest version in the **Core Version Switch** menu to upgrade back.

= Can I switch theme versions? =
Yes. The new **Theme Version Switch** submenu lets you roll back or upgrade any installed theme to a specific version from the WordPress.org repository. Custom (non WordPress.org) themes are detected and a friendly error is shown.

= Does the plugin support automatic updates after switching versions? =
Yes, after switching, the plugin ensures your WordPress core, plugins, and themes stay functional with auto-update options enabled.

= Is there any risk involved in switching versions? =
While the plugin is designed to be safe, always back up your site before making significant changes. We recommend taking a full backup (files + database) before any core, plugin, or theme version switch.

= Will switching versions delete my data? =
No. RIS Version Switcher only replaces the files of the component you are switching (WordPress core files, the plugin folder, or the theme folder). Your content, settings, and media library are not touched. However, some plugin or theme version changes may affect database options, so a backup is always recommended.

= Why do I get an error for custom or premium themes? =
RIS Version Switcher only works with themes hosted on the official WordPress.org repository. Premium or custom themes must be updated through the vendor's own update mechanism.

== Screenshots ==

1. **Admin Dashboard Overview** - View available WordPress core, plugin, and theme versions.
2. **Core Version Control** - Select and switch WordPress core versions effortlessly.
3. **Plugin Version Control** - Choose specific plugin versions for downgrade or upgrade.
4. **Theme Version Control** - Choose specific theme versions for downgrade or upgrade.

== Changelog ==

= 1.2 =
* New: **Theme Version Switcher** submenu — roll back or upgrade any installed theme to a specific version from WordPress.org.
* New: Active theme detection — a clear warning is shown in the UI when switching the currently active theme.
* Improved: Theme data (name, version, active state) is now passed to JavaScript alongside plugin data.
* Improved: i18n strings catalog expanded to cover the new theme switcher flow.

= 1.1 =
* Modernized UI with gradient header, rounded cards, custom selects, and a new progress modal.
* New animated progress modal with step tracking for both plugin and core switcher flows.
* Improved button styles with gradient background and hover animations.
* Backdrop blur overlay for the modal dialogs.

= 1.0 =
* Initial release with the ability to switch WordPress core and plugin versions.

== Upgrade Notice ==

= 1.2 =
New Theme Version Switcher submenu — roll back or upgrade any installed theme to a specific version.

= 1.1 =
Improved user interface with modern card design and animated progress modals.

= 1.0 =
Enjoy the first release with essential WordPress core and plugin version management features.

== License ==

This plugin is licensed under the **GPLv2 or later**, ensuring freedom and accessibility for all WordPress users.
