=== Solaxes HTTPS Migration Repair ===
Contributors: solaxes
Tags: ssl, https, mixed content, database, migration
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan your WordPress database for common HTTP mixed content URLs on your own domain and repair them safely after SSL migration.

== Description ==

After moving a site to HTTPS, many WordPress databases still contain `http://` references to your own domain in posts, meta, and options. That can cause mixed content warnings and broken images in the browser.

**Solaxes HTTPS Migration Repair** helps administrators:

* Scan selected WordPress database tables for HTTP URLs on **your own domain only**
* Target content types: images, pages, posts, CSS, JavaScript, and other references
* **Live preview** (frontend only): rewrite HTTP to HTTPS in page output without database changes
* Review summarized scan results by content type
* Export detailed findings as CSV or JSON
* Run a **dry run** before applying changes
* Apply **serialized-safe** HTTP to HTTPS repairs in batches

This plugin helps detect and repair **common** HTTP references stored in the database. It does **not** guarantee that every mixed content issue on a site will be resolved. It does not rewrite third-party `http://` links, and it does not modify theme or plugin files on disk. Always take a full database backup before applying permanent changes.

Developed by [Solaxes Technologies](https://solaxes.com/).

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/solaxes-https-migration-repair/` or install via Plugins → Add New.
2. Activate through the **Plugins** screen.
3. Go to **Tools → Solaxes HTTPS Migration**.
4. Configure content types and optionally enable live preview.
5. Start a scan, review results, export if needed, test with live preview, then run a dry run and apply permanent changes if desired.

== Frequently Asked Questions ==

= What is live preview? =

When enabled, the plugin rewrites your site's own HTTP URLs to HTTPS in frontend HTML output only. The database is not changed. Use this to verify the site, then apply a permanent database repair if needed.

= Does this plugin send data to external servers? =

Scanning and repairs run entirely on your server. The optional **Support & Feedback** form sends an email only when you choose to contact Solaxes Technologies. No automatic telemetry is collected.

= Will this fix every mixed content issue? =

No. It focuses on HTTP references stored in the database and output in HTML. Hardcoded HTTP URLs in theme or plugin files on disk are not changed automatically.

= Is serialized data handled safely? =

Yes. Serialized PHP values are unpacked, updated, and re-serialized with validation. Rows that cannot be safely updated are skipped and reported.

== Privacy Policy ==

This plugin processes data only on your WordPress site:

* **Database scan and repair** — Reads and optionally updates your site database on your server. No scan results are sent off-site automatically.
* **Live preview** — Rewrites frontend HTML output on your server. The database is not changed while live preview is enabled.
* **Support & Feedback form** (optional) — If you submit the in-app form, an email is sent via your site's `wp_mail()` to Solaxes Technologies. The message may include your WordPress account email (Reply-To), site URL, WordPress version, and plugin version. You choose whether to include extra technical context. No automatic telemetry is collected.

Administrators can change the support recipient with the `solaxes_hmr_support_email` filter.

== Screenshots ==

1. Configuration and backup notice
2. Database scan progress
3. Scan results summary with export
4. Dry run summary
5. Apply permanent fix with backup confirmation

== Changelog ==

= 1.0.0 =
* Initial release: database scan for HTTP mixed content on your domain, live preview, dry run, serialized-safe repair, CSV/JSON export.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
