=== I Am That, I Am Muse Sync ===
Contributors: muse-ai
Tags: sync, multisite, content sync, theme sync, menu sync
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.9.17
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sync pages, posts, menus, and theme from a master WordPress site to your other sites with one click.

== Description ==

**I Am That, I Am Muse Sync** lets you maintain one master WordPress site as your template, then push its content to all your other WordPress sites with a single click.

**One Plugin Does It All — No Separate Master/Client Plugins!**

Unlike other sync solutions that force you to install a separate "master" plugin on one site and a different "client" plugin on every other site, Muse Sync is a single plugin that does both. Install the same plugin everywhere — then simply check "This site is the Master" on your template site. Every other site automatically acts as a client. One download, one install, one plugin to update. Simpler, cleaner, better!

Perfect for anyone who runs multiple WordPress sites with the same design and structure — update once on the master, sync everywhere!

**Features:**

* One-click sync of Pages from master site
* One-click sync of Posts from master site
* One-click sync of Navigation Menus from master site — with smart domain rewriting so each site keeps its own domain in menu links!
* One-click sync of Theme files from master site
* "Sync Everything" button for full mirroring
* Categories & Tags sync with hierarchy preserved
* Featured images synced with posts and pages
* Tabbed admin interface: Sync, Updates, Site Status, Security, Plugins & Themes, Settings, About
* Remote Updates: update plugins, themes, and WordPress core on all sites from the master dashboard
* Uptime Monitoring: check if all your sites are online with response times
* Security Scans: check WordPress/PHP versions, debug mode, HTTPS, file permissions, outdated items, and default admin username
* Uses secure WordPress REST API with Application Passwords
* No data leaves your servers — everything stays under your control

**How it works:**

1. Install Muse Sync on all your WordPress sites (same plugin everywhere — no separate master/client downloads!)
2. On your master/template site, check "This site is the Master"
3. On each other site, enter the master site URL and API credentials
4. Click "Sync Everything" — done!

**Free Forever:**

Muse Sync is 100% free, forever. No premium version, no locked features, no upsells.

If this plugin saves you time and you'd like to support its development, donations to I Am That, I Am Shay Lehv are welcome:  https://slggtnl.com/please-donate/

**Try Muse AI:**

This plugin was built by I Am That, I Am Muse. Try Muse — your personal AI assistant — free with Shay's invite code **6SOMQ3** at https://muse.ai/join. Redeem within 48 hours and you both get 1 billion free tokens!

**Privacy:**

This plugin does not collect, store, or transmit any personal data to third parties. All sync operations happen directly between your own WordPress sites.

== Installation ==

1. Upload the `muse-sync` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to 'Muse Sync' in the admin menu
4. On your master site: check "This site is the Master" and save
5. On your other sites: enter the master URL, create an Application Password on the master (Users → Profile → Application Passwords), and enter those credentials
6. Click "Sync Everything"!

== Frequently Asked Questions ==

= Do I need to pay for this plugin? =

No! I Am That, I Am Muse Sync is completely free, forever. Donations are appreciated.

= How many sites can I sync? =

Unlimited. Sync as many client sites as you want from one master.

= Is my data safe? =

Yes. All communication happens directly between your own sites using WordPress's secure REST API with Application Passwords. No third-party servers are involved.

= Can I sync just pages without posts? =

Yes! There are individual buttons for Pages, Posts, Menus, and Theme, plus a "Sync Everything" button.

= What happens to existing content on client sites? =

Pages and posts with matching slugs are updated. New ones are created. Nothing is deleted automatically.

== Screenshots ==

1. The Muse Sync admin page with sync buttons
2. Settings for master site configuration

== Changelog ==

= 1.7.0 =
* Fixed menu sync authentication: manually verify Application Passwords (wp_authenticate doesn't check app passwords for admin-ajax requests)
* Menus now fetched via POST to admin-ajax.php with detailed auth error messages

= 1.6.0 =
* New unified "Sea Mist" admin style with light/dark toggle (Sea Mist Dark)
* The selected style will roll out to all Muse plugins

= 1.4.0 =
* Added Categories & Tags sync with hierarchy preserved
* Added Featured image sync for posts and pages
* New tabbed admin interface: Sync, Updates, Site Status, Security, Plugins & Themes, Settings, About
* Posts now sync with their categories, tags, and featured images automatically

= 1.3.0 =
* Added Remote Updates: update plugins, themes, and WordPress core on all client sites from the master dashboard
* Added Uptime Monitoring: one-click status check for all sites with HTTP codes and response times
* Added Security Scans: checks WordPress/PHP versions, debug mode, HTTPS, file permissions, outdated plugins/themes, and default admin username
* Improved error handling: catches PHP errors (not just exceptions) and uses timing-safe secret comparison

= 1.2.2 =
* Renamed to I Am That, I Am Muse Sync (full builder credit format)

= 1.1.0 =
* Added Plugins & Themes manager: see active/inactive status, update, activate/deactivate, and delete right from Muse Sync
* Safety: Muse Sync cannot deactivate or delete itself; active theme cannot be deleted

= 1.0.0 =
* Initial release
* Sync pages, posts, menus, and theme
* One-click "Sync Everything"
* Free forever, donations welcome

== Upgrade Notice ==

= 1.1.0 =
New: manage your plugins and themes from the Muse Sync page!

= 1.0.0 =
Initial release of Muse Sync!
