=== Catch Duplicate Switcher ===
Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshmaharjan, dreamsapana
Donate link: https://catchplugins.com/plugins/catch-duplicate-switcher/
Tags: duplicate, switcher, clone, copy, post type
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 7.0
Stable tag: 2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Catch Duplicate Switcher - Create duplicate posts/pages and switch between them easily.

== Description ==

Catch Duplicate Switcher is a simple, lightweight, feature-rich free WordPress plugin for cloning posts and pages in WordPress and switching between them. The plugin is extremely easy to use; even for the beginners. It is a simple yet feature-rich two-in-one plugin that empowers you to clone posts/pages and switch between them. It provides you with a switcher section in the Metabox of each post/page in order to switch its content type. The plugin comes with features such as Duplicate Page/Post Status, Duplicate Suffix Name, Duplicate Page/Post Redirect option, Switcher Option and more. With these features available in the plugin, cloning pages/posts and switching posts into pages and vice versa are easy tasks to perform. It provides features you expect from a decent cloning posts/pages WordPress plugin. So, why wait? Download Catch Duplicate Switcher plugin right away! Make your cloning posts/pages task and switching between them easier than ever!

== Installation ==
via FTP
The easy way (via Dashboard) :

* Go to Plugins > Add New
* Type in the **Catch Duplicate Switcher** in Search Plugins box
* Click Install Now to install the plugin
* After Installation click activate to start using the **Catch Duplicate Switcher**
* Go to **Catch Duplicate Switcher** from Dashboard menu

Not so easy way (via FTP) :

* Download the **Catch Duplicate Switcher**
* Unarchive **Catch Duplicate Switcher** plugin
* Copy folder with catch-duplicate-switcher.zip
* Open the ftp \wp-content\plugins\
* Paste the plug-ins folder in the folder
* Go to admin panel => open item "Plugins" => activate **Catch Duplicate Switcher**
* Go to **Catch Duplicate Switcher** from Dashboard menu


== Screenshots ==

1. Main page
2. Edit page
3. Switcher settings page
4. Metabox options


== Changelog ==

= 2.2 (Released: May 28, 2026) =
* Bug Fixed: Plugin settings were never saving — broken nonce logic in the save handler has been corrected
* Security: Duplicate Post action now verifies a nonce and checks user permissions before creating any copy
* Security: All form inputs and AJAX values are now properly validated and sanitized before use
* Bug Fixed: Post meta is now copied using the standard WordPress API instead of direct database queries
* Bug Fixed: Duplicate button and row-action links now use safe redirects after duplication
* Bug Fixed: Plugin links and admin bar title are now correctly escaped
* Bug Fixed: Missing and incorrect text domains corrected throughout, including the customizer section
* Improved: Plugin scripts load in the page footer with the correct version for reliable browser cache-busting
* Improved: Direct file access protection added to all plugin files
* Improved: Translation loading updated to use WordPress's built-in automatic system
* Compatibility check up to version 7.0

= 2.1 (Released: May 12, 2025) =
* Compatibility check up to version 6.8

= 2.0 (Released: April 16, 2024) =
* Compatibility check up to version 6.5

= 1.9 (Released: November 15, 2023) =
* Compatibility check up to version 6.4

= 1.8 (Released: November 03, 2022) =
* Compatibility check up to version 6.1

= 1.7 (Released: February 17, 2022) =
* Compatibility check up to version 5.9

= 1.6 (Released: September 16, 2021) =
* Bug Fixed: Security issue on ajax calls

= 1.5.2 (Released: July 23, 2021) =
* Compatibility check up to version 5.8

= 1.5.1 (Released: March 04, 2021) =
* Compatibility check up to version 5.7

= 1.5 (Released: August 19, 2020) =
* Bug Fixed: Issue in add new theme page

= 1.4 (Released: March 10, 2020) =
* Compatibility check up to version 5.4

= 1.3 (Released: November 16, 2019) =
* Compatibility check up to version 5.3

= 1.2 (Released: August 20, 2019) =
* Added: Tooltip for info icons
* Added: Option to turn off Catch Themes and Catch Plugins tabs
* Compatibility check up to version 5.2
* Updated: Catch Themes and Catch Plugins tabs displaying code

= 1.1 (Released: February 21, 2019) =
* Compatibility check up to version 5.1

= 1.0.0 (Released: January 23, 2019) =
* Initial Release
