=== WPShift Companion ===
Contributors: wpshift
Tags: server management, hosting, deployment, backup, migration
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Server management for WordPress — provision servers, deploy sites, manage SSL, backups & SMTP. Includes performance optimization and database cleanup tools.

== Description ==

WPShift Companion connects your WordPress site to WPShift, a powerful server management platform built specifically for WordPress.

**Features:**

* **One-Click Connection** - Connect your site to WPShift with a simple authorization flow
* **Site Migration** - Easily migrate your existing WordPress site to a WPShift-managed server
* **Magic Login** - Access your WordPress admin directly from the WPShift dashboard
* **SMTP Configuration** - Automatic email configuration from WPShift's mail servers
* **Performance Optimization** - Built-in tools to optimize your WordPress site
* **Database Cleanup** - Remove bloat like revisions, drafts, spam comments, and orphaned data

**Optimization Features:**

* Disable emojis, embeds, and jQuery Migrate
* Control WordPress Heartbeat API
* Clean up header bloat (RSD, WLW manifest, generator tags)
* Security hardening (disable XML-RPC, login hints, author archives)
* Database cleanup for revisions, transients, and orphaned meta

== Installation ==

1. Upload the `wpshift-companion` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to WPShift in your admin menu to connect your site

== Frequently Asked Questions ==

= Do I need a WPShift account? =

Yes, you need a free WPShift account to use this plugin. You can create one at https://wpshift.io

= Is my data secure? =

Yes. The plugin uses secure OAuth-like authentication and all data transfer is encrypted. Your site credentials are never stored on WPShift servers.

= Can I use this without migrating my site? =

Yes! You can connect to WPShift and use the optimization features without migrating your site.

== Third Party Libraries ==

This plugin includes the following third-party libraries:

= Alpine.js =
* Version: 3.14.1
* License: MIT
* Source: https://github.com/alpinejs/alpine
* Website: https://alpinejs.dev

Alpine.js is used for reactive UI components in the admin interface. The minified file `assets/js/alpine.min.js` is built from the official Alpine.js repository.

To build from source:
1. Clone https://github.com/alpinejs/alpine
2. Run `npm install`
3. Run `npm run build`
4. The built file will be in `packages/alpinejs/dist/`

== Changelog ==

= 1.0.0 =
* Initial release
* Site connection and authentication
* Site migration functionality
* Magic login support
* SMTP configuration
* Performance optimization tools
* Database cleanup utilities

== Upgrade Notice ==

= 1.0.1 =
Initial release of WPShift Companion.
