Preserve MainWP Connection

Beschreibung

Preserve MainWP’s connection details from being overwritten by WP Migrate and severing the connection when pushing or pulling.

If you use MainWP to manage your WordPress sites and WP Migrate to clone sites between environments, you’ll find that your site’s connections to MainWP are constantly being disconnected by the push/pull operations of WP Migrate. This plugin prevents the database fields used for MainWP’s connection details from being overwritten by WP Migrate during both Push and Pull operations, saving you from having to reconnect the site after every migration.

Installation

  1. Upload preserve-mainwp.php to the /wp-content/plugins/preserve-mainwp/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress

FAQ

Does this plugin require any configuration?

No. It works out-of-the-box („set and forget“) as soon as it is activated.

Which migration tools are supported?

It preserves settings for WP Migrate (formerly WP Migrate DB Pro / Delicious Brains).

Rezensionen

1 Rezension lesen

Mitwirkende und Entwickler

„Preserve MainWP Connection“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Preserve MainWP Connection“ wurde in 3 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Preserve MainWP Connection“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

2.0.1

  • Updated Tested up to tag to WordPress 7.1.
  • Added pre-bundled translation files (.po / .mo) for 10 languages.

2.0.0

  • Complete refactor to OOP architecture (Preserve_MainWP_Connection).
  • Expanded preserved keys to all 10 MainWP Child authentication keys (siteid, auth, connected_admin, nossl_key, openssl_sign_algo, security).
  • Added pre-migration transient backups (_preserve_mainwp_backup) on initiation hooks.
  • Added post-migration DB restoration on finalization hooks to prevent connection loss during Push migrations.

1.1.0

  • Modernized code structure and PHP 7.4+ compatibility.
  • Added support for mainwp_child_subkey option.
  • Updated WordPress and PHP version requirements.
  • Added GitHub Actions workflow for WordPress.org SVN automated deployment.

1.0

  • Initial release