Skip to content

Prevents anonymizing Administrator, Editor and Shop Manager roles. Uses example.org domains for user emails.

Notifications You must be signed in to change notification settings

codelight-eu/wp-migrate-db-pro-extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wp-migrate-db-pro-extended

This super simple mu-plugin extends WP Migrate DB Pro and WP Migrate DB Anonymization plugin.

  • prevents anonymizing users with Administrator, Editor, Shop Manager roles or manage_options capability during a migration. Never accidentally lose access to your staging or development site again!
  • Uses example.org domains for user emails instead of random domains. This way no real existing emails are accidentally generated.

Installation

  1. Install the mu-plugin:
    composer require codelight-eu/wp-migrate-db-pro-extended

  2. Install the mu-plugin loader:
    composer require lkwdwrd/wp-muplugin-loader

IMPORTANT! If the site crashes after installing the mu-plugin loader, run composer dump-autoload.

What is this black magic??

Read about composer and mu-plugins.

About

Prevents anonymizing Administrator, Editor and Shop Manager roles. Uses example.org domains for user emails.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages